Fix cmd build, when compilation units are turned off
authorColin Finck <colin@reactos.org>
Fri, 20 Jul 2007 13:08:25 +0000 (13:08 +0000)
committerColin Finck <colin@reactos.org>
Fri, 20 Jul 2007 13:08:25 +0000 (13:08 +0000)
svn path=/trunk/; revision=27748

reactos/base/shell/cmd/cmd.c
reactos/base/shell/cmd/cmd.h

index a729e2e..4a28527 100644 (file)
@@ -588,7 +588,7 @@ Execute (LPTSTR Full, LPTSTR First, LPTSTR Rest)
  *
  */
 
-static VOID
+VOID
 DoCommand (LPTSTR line)
 {
        TCHAR *com = NULL;  /* the first word in the command */
index e7ae84a..1fddd23 100644 (file)
@@ -98,6 +98,7 @@ VOID ParseCommandLine (LPTSTR);
 LPCTSTR GetEnvVarOrSpecial ( LPCTSTR varName );
 VOID AddBreakHandler (VOID);
 VOID RemoveBreakHandler (VOID);
+VOID DoCommand (LPTSTR line);
 
 extern HANDLE CMD_ModuleHandle;