55 modified files
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- alias.c 15 Aug 2004 22:15:23 -0000 1.2
+++ alias.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -27,16 +27,9 @@
*/
-#include "config.h"
-
-#ifdef FEATURE_ALIASES
-
#include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
+#ifdef FEATURE_ALIASES
typedef struct tagALIAS
{
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- attrib.c 15 Aug 2004 22:15:23 -0000 1.2
+++ attrib.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -29,15 +29,10 @@
* Added handling of multiple filenames.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_ATTRIB
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
static VOID
PrintAttribute (LPTSTR pszPath, LPTSTR pszFile, BOOL bRecurse)
reactos/subsys/system/cmd
diff -u -r1.4 -r1.5
--- batch.c 15 Aug 2004 22:15:23 -0000 1.4
+++ batch.c 8 Nov 2004 02:16:06 -0000 1.5
@@ -1,4 +1,4 @@
-/* $Id: batch.c,v 1.4 2004/08/15 22:15:23 chorns Exp $
+/* $Id: batch.c,v 1.5 2004/11/08 02:16:06 weiden Exp $
*
* BATCH.C - batch file processor for CMD.EXE.
*
@@ -56,15 +56,7 @@
* Fixes made to get "for" working.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-
-#include "batch.h"
/* The stack of current batch contexts.
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- beep.c 15 Aug 2004 22:15:23 -0000 1.2
+++ beep.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -21,15 +21,9 @@
* Redirection ready!
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_BEEP
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include "batch.h"
+#ifdef INCLUDE_CMD_BEEP
INT cmd_beep (LPTSTR cmd, LPTSTR param)
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- call.c 15 Aug 2004 22:15:23 -0000 1.3
+++ call.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -1,4 +1,4 @@
-/* $Id: call.c,v 1.3 2004/08/15 22:15:23 chorns Exp $
+/* $Id: call.c,v 1.4 2004/11/08 02:16:06 weiden Exp $
*
* CALL.C - call internal batch command.
*
@@ -26,15 +26,7 @@
* Unicode and redirection safe!
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "batch.h"
/*
reactos/subsys/system/cmd
diff -u -r1.4 -r1.5
--- chcp.c 15 Aug 2004 22:15:23 -0000 1.4
+++ chcp.c 8 Nov 2004 02:16:06 -0000 1.5
@@ -9,15 +9,9 @@
*
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_CHCP
-
#include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-#include <string.h>
+#ifdef INCLUDE_CMD_CHCP
INT CommandChcp (LPTSTR cmd, LPTSTR param)
{
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- choice.c 15 Aug 2004 22:15:23 -0000 1.3
+++ choice.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -14,17 +14,9 @@
* Fixed timeout.
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_CHOICE
-
#include "precomp.h"
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include <tchar.h>
-#include "batch.h"
+#ifdef INCLUDE_CMD_CHOICE
#define GC_TIMEOUT -1
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- cls.c 15 Aug 2004 22:15:23 -0000 1.3
+++ cls.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -23,14 +23,9 @@
* Redirection ready!
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_CLS
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
+#ifdef INCLUDE_CMD_CLS
INT cmd_cls (LPTSTR cmd, LPTSTR param)
{
reactos/subsys/system/cmd
diff -u -r1.19 -r1.20
--- cmd.c 22 Aug 2004 20:47:20 -0000 1.19
+++ cmd.c 8 Nov 2004 02:16:06 -0000 1.20
@@ -1,4 +1,4 @@
-/* $Id: cmd.c,v 1.19 2004/08/22 20:47:20 hbirr Exp $
+/* $Id: cmd.c,v 1.20 2004/11/08 02:16:06 weiden Exp $
*
* CMD.C - command-line interface.
*
@@ -131,25 +131,12 @@
* Added ShellExecute call when all else fails to be able to "launch" any file.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <stdio.h>
-#include <winnt.h>
-#include <winternl.h>
#ifndef NT_SUCCESS
#define NT_SUCCESS(StatCode) ((NTSTATUS)(StatCode) >= 0)
#endif
-#include "batch.h"
-
-#include <shellapi.h>
-
typedef NTSTATUS (STDCALL *NtQueryInformationProcessProc)(HANDLE, PROCESSINFOCLASS,
PVOID, ULONG, PULONG);
typedef NTSTATUS (STDCALL *NtReadVirtualMemoryProc)(HANDLE, PVOID, PVOID, ULONG, PULONG);
reactos/subsys/system/cmd
diff -u -r1.6 -r1.7
--- cmdinput.c 15 Aug 2004 22:15:23 -0000 1.6
+++ cmdinput.c 8 Nov 2004 02:16:06 -0000 1.7
@@ -97,13 +97,7 @@
* Fixed problems when the screen was scrolled away.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
SHORT maxx;
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- cmdtable.c 15 Aug 2004 22:15:23 -0000 1.2
+++ cmdtable.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -17,10 +17,7 @@
* Unicode ready!
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
/* a list of all the internal commands, associating their command names */
reactos/subsys/system/cmd
diff -u -r1.5 -r1.6
--- color.c 15 Aug 2004 22:15:23 -0000 1.5
+++ color.c 8 Nov 2004 02:16:06 -0000 1.6
@@ -1,4 +1,4 @@
-/* $Id: color.c,v 1.5 2004/08/15 22:15:23 chorns Exp $
+/* $Id: color.c,v 1.6 2004/11/08 02:16:06 weiden Exp $
*
* COLOR.C - color internal command.
*
@@ -18,13 +18,9 @@
* 4nt's syntax implemented
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_COLOR
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
static VOID ColorHelp (VOID)
reactos/subsys/system/cmd
diff -u -r1.9 -r1.10
--- console.c 2 Nov 2004 20:47:05 -0000 1.9
+++ console.c 8 Nov 2004 02:16:06 -0000 1.10
@@ -1,4 +1,4 @@
-/* $Id: console.c,v 1.9 2004/11/02 20:47:05 weiden Exp $
+/* $Id: console.c,v 1.10 2004/11/08 02:16:06 weiden Exp $
*
* CONSOLE.C - console input/output functions.
*
@@ -9,13 +9,7 @@
* started
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <stdio.h>
-#include <stdarg.h>
-#include <string.h>
#define OUTPUT_BUFFER_SIZE 4096
reactos/subsys/system/cmd
diff -u -r1.5 -r1.6
--- copy.c 15 Aug 2004 22:15:23 -0000 1.5
+++ copy.c 8 Nov 2004 02:16:06 -0000 1.6
@@ -1,4 +1,4 @@
-/* $Id: copy.c,v 1.5 2004/08/15 22:15:23 chorns Exp $
+/* $Id: copy.c,v 1.6 2004/11/08 02:16:06 weiden Exp $
*
* COPY.C -- copy internal command.
*
@@ -22,18 +22,9 @@
* Disabled prompting when used in batch mode.
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_COPY
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <tchar.h>
-#include "batch.h"
+#ifdef INCLUDE_CMD_COPY
#define VERIFY 1 /* VERIFY Switch */
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- date.c 15 Aug 2004 22:15:23 -0000 1.3
+++ date.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -28,15 +28,10 @@
* Fixed date input bug.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_DATE
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
static WORD awMonths[2][13] =
{
reactos/subsys/system/cmd
diff -u -r1.6 -r1.7
--- del.c 15 Aug 2004 22:15:23 -0000 1.6
+++ del.c 8 Nov 2004 02:16:06 -0000 1.7
@@ -34,18 +34,9 @@
* Added prompt ("/P"), yes ("/Y") and wipe("/W") option.
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_DEL
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <math.h>
-#include "batch.h"
+#ifdef INCLUDE_CMD_DEL
enum
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- delay.c 15 Aug 2004 22:15:23 -0000 1.3
+++ delay.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -9,14 +9,10 @@
*
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_DELAY
-#include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-
INT CommandDelay (LPTSTR cmd, LPTSTR param)
{
reactos/subsys/system/cmd
diff -u -r1.11 -r1.12
--- dir.c 15 Aug 2004 22:15:23 -0000 1.11
+++ dir.c 8 Nov 2004 02:16:06 -0000 1.12
@@ -1,4 +1,4 @@
-/* $Id: dir.c,v 1.11 2004/08/15 22:15:23 chorns Exp $
+/* $Id: dir.c,v 1.12 2004/11/08 02:16:06 weiden Exp $
*
* DIR.C - dir internal command.
*
@@ -121,15 +121,9 @@
* Fix /w to print long names.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_DIR
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <ctype.h>
/* flag definitions */
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- dirstack.c 15 Aug 2004 22:15:23 -0000 1.2
+++ dirstack.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -14,15 +14,9 @@
* Added DIRS command.
*/
-#include "config.h"
-
-#ifdef FEATURE_DIRECTORY_STACK
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
+#ifdef FEATURE_DIRECTORY_STACK
typedef struct tagDIRENTRY
{
reactos/subsys/system/cmd
diff -u -r1.4 -r1.5
--- echo.c 15 Aug 2004 22:15:23 -0000 1.4
+++ echo.c 8 Nov 2004 02:16:06 -0000 1.5
@@ -1,4 +1,4 @@
-/* $Id: echo.c,v 1.4 2004/08/15 22:15:23 chorns Exp $
+/* $Id: echo.c,v 1.5 2004/11/08 02:16:06 weiden Exp $
*
* ECHO.C - internal echo commands.
*
@@ -24,13 +24,7 @@
* Implemented 'echo.' and 'echoerr.'.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
INT CommandEcho (LPTSTR cmd, LPTSTR param)
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- error.c 15 Aug 2004 22:15:23 -0000 1.3
+++ error.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -17,12 +17,7 @@
* Use FormatMessage() for error reports.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <stdio.h>
-#include <stdarg.h>
#define INVALID_SWITCH _T("Invalid switch - /%c\n")
reactos/subsys/system/cmd
diff -u -r1.5 -r1.6
--- filecomp.c 15 Aug 2004 22:15:23 -0000 1.5
+++ filecomp.c 8 Nov 2004 02:16:06 -0000 1.6
@@ -20,14 +20,7 @@
* Now expands lfn even when trailing " is omitted.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <stdio.h>
#ifdef FEATURE_UNIX_FILENAME_COMPLETION
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- for.c 15 Aug 2004 22:15:23 -0000 1.3
+++ for.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -27,15 +27,7 @@
* code in other files fixed, too.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-
-#include "batch.h"
/*
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- free.c 15 Aug 2004 22:15:23 -0000 1.3
+++ free.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -8,16 +8,10 @@
* Started.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_FREE
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdio.h>
-#include <ctype.h>
-
/*
* convert
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- goto.c 15 Aug 2004 22:15:23 -0000 1.3
+++ goto.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -23,14 +23,7 @@
* Added help text ("/?").
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
-#include "batch.h"
/*
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- history.c 15 Aug 2004 22:15:23 -0000 1.3
+++ history.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -37,16 +37,9 @@
*
*/
-#include "config.h"
-
-#ifdef FEATURE_HISTORY
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
+#ifdef FEATURE_HISTORY
typedef struct tagHISTORY
{
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- if.c 15 Aug 2004 22:15:23 -0000 1.3
+++ if.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -26,14 +26,7 @@
* IF DEFINED variable command
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
-#include "batch.h"
#define X_EXEC 1
reactos/subsys/system/cmd
diff -u -r1.5 -r1.6
--- internal.c 15 Aug 2004 22:15:23 -0000 1.5
+++ internal.c 8 Nov 2004 02:16:06 -0000 1.6
@@ -124,13 +124,7 @@
* Improved chdir/cd command.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
#ifdef INCLUDE_CMD_CHDIR
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- label.c 15 Aug 2004 22:15:23 -0000 1.2
+++ label.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -14,15 +14,10 @@
* Unicode ready!
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_LABEL
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
INT cmd_label (LPTSTR cmd, LPTSTR param)
{
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- locale.c 15 Aug 2004 22:15:23 -0000 1.2
+++ locale.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -11,12 +11,7 @@
* Unicode safe!
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
TCHAR cDateSeparator;
reactos/subsys/system/cmd
diff -u -r1.11 -r1.12
--- makefile 15 Aug 2004 22:15:23 -0000 1.11
+++ makefile 8 Nov 2004 02:16:06 -0000 1.12
@@ -33,4 +33,6 @@
include $(TOOLS_PATH)/helper.mk
+include $(TOOLS_PATH)/depend.mk
+
# EOF
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- memory.c 15 Aug 2004 22:15:23 -0000 1.2
+++ memory.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -8,15 +8,10 @@
* Started.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_MEMORY
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
/*
* convert
reactos/subsys/system/cmd
diff -u -r1.6 -r1.7
--- misc.c 15 Aug 2004 22:15:23 -0000 1.6
+++ misc.c 8 Nov 2004 02:16:06 -0000 1.7
@@ -29,14 +29,7 @@
* Added PagePrompt() and FilePrompt().
*/
-#include "config.h"
-
#include "precomp.h"
-#include <ctype.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <tchar.h>
/*
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- move.c 15 Aug 2004 22:15:23 -0000 1.2
+++ move.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -22,15 +22,10 @@
* Added "/N" option.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_MOVE
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
#define OVERWRITE_NO 0
#define OVERWRITE_YES 1
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- msgbox.c 15 Aug 2004 22:15:23 -0000 1.2
+++ msgbox.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -7,13 +7,9 @@
* started - Paolo Pantaleo <paolopan@freemail.it>
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_MSGBOX
-#include "precomp.h"
-#include <ctype.h>
-#include <string.h>
-#include <tchar.h>
#define U_TYPE_INIT 0
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- path.c 15 Aug 2004 22:15:23 -0000 1.3
+++ path.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -22,16 +22,9 @@
* 24-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
* Fixed Win32 environment handling.
*/
-
-#include "config.h"
-
-#ifdef INCLUDE_CMD_PATH
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
+#ifdef INCLUDE_CMD_PATH
/* size of environment variable buffer */
#define ENV_BUFFER_SIZE 1024
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- pause.c 15 Aug 2004 22:15:23 -0000 1.3
+++ pause.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -17,16 +17,9 @@
* Unicode ready!
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_PAUSE
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
+#ifdef INCLUDE_CMD_PAUSE
/*
* Perform PAUSE command.
reactos/subsys/system/cmd
diff -u -r1.1 -r1.2
--- precomp.h 15 Aug 2004 22:15:23 -0000 1.1
+++ precomp.h 8 Nov 2004 02:16:06 -0000 1.2
@@ -1,2 +1,15 @@
-#include "cmd.h"
#include <windows.h>
+#include <winnt.h>
+#include <winternl.h>
+#include <shellapi.h>
+
+#include <tchar.h>
+#include <ctype.h>
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdarg.h>
+
+#include "cmd.h"
+#include "config.h"
+#include "batch.h"
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- prompt.c 15 Aug 2004 22:15:23 -0000 1.2
+++ prompt.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -43,14 +43,7 @@
* 24-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
* Fixed Win32 environment handling.
*/
-
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
/*
* print the command-line prompt
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- redir.c 15 Aug 2004 22:15:23 -0000 1.2
+++ redir.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -22,15 +22,10 @@
* Added new error AND output redirection "&>" and "&>>".
*/
-#include "config.h"
+#include "precomp.h"
#ifdef FEATURE_REDIRECTION
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
static BOOL
IsRedirection (TCHAR c)
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- ren.c 15 Aug 2004 22:15:23 -0000 1.2
+++ ren.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -17,16 +17,9 @@
* Implemented basic rename code.
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_RENAME
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-#include "batch.h"
+#ifdef INCLUDE_CMD_RENAME
enum
{
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- screen.c 15 Aug 2004 22:15:23 -0000 1.3
+++ screen.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -9,15 +9,10 @@
*
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_SCREEN
-#include "precomp.h"
-#include <tchar.h>
-#include <stdlib.h>
-#include <ctype.h>
-
INT CommandScreen (LPTSTR cmd, LPTSTR param)
{
reactos/subsys/system/cmd
diff -u -r1.4 -r1.5
--- set.c 15 Aug 2004 22:15:23 -0000 1.4
+++ set.c 8 Nov 2004 02:16:06 -0000 1.5
@@ -31,15 +31,10 @@
* Fixed little bug.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_SET
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-
/* initial size of environment variable buffer */
#define ENV_BUFFER_SIZE 1024
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- shift.c 15 Aug 2004 22:15:23 -0000 1.3
+++ shift.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -20,13 +20,7 @@
* Unicode and redirection safe!
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
-#include "batch.h"
/*
reactos/subsys/system/cmd
diff -u -r1.4 -r1.5
--- start.c 15 Aug 2004 22:15:23 -0000 1.4
+++ start.c 8 Nov 2004 02:16:06 -0000 1.5
@@ -8,14 +8,9 @@
* Started.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_START
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
INT cmd_start (LPTSTR first, LPTSTR rest)
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- strtoclr.c 15 Aug 2004 22:15:23 -0000 1.3
+++ strtoclr.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -18,10 +18,6 @@
#include "precomp.h"
-#include <ctype.h>
-#include <tchar.h>
-
-
#define _B FOREGROUND_BLUE
#define _G FOREGROUND_GREEN
#define _R FOREGROUND_RED
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- time.c 15 Aug 2004 22:15:23 -0000 1.3
+++ time.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -21,15 +21,10 @@
* Fixed time input bug.
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_TIME
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
-
static BOOL ParseTime (LPTSTR s)
{
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- timer.c 15 Aug 2004 22:15:23 -0000 1.3
+++ timer.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -7,14 +7,9 @@
* started - Paolo Pantaleo <paolopan@freemail.it>
*/
-#include "config.h"
-
-#ifdef INCLUDE_CMD_TIMER
#include "precomp.h"
-#include <ctype.h>
-#include <string.h>
-#include <tchar.h>
+#ifdef INCLUDE_CMD_TIMER
#define NCS_NOT_SPECIFIED -1
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- title.c 15 Aug 2004 22:15:23 -0000 1.2
+++ title.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -6,14 +6,10 @@
* 1999-02-11 Emanuele Aliberti
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_TITLE
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
INT cmd_title (LPTSTR cmd, LPTSTR param)
{
reactos/subsys/system/cmd
diff -u -r1.3 -r1.4
--- type.c 15 Aug 2004 22:15:23 -0000 1.3
+++ type.c 8 Nov 2004 02:16:06 -0000 1.4
@@ -23,14 +23,10 @@
* Added multiple file support (copied from y.c)
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_TYPE
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
INT cmd_type (LPTSTR cmd, LPTSTR param)
{
reactos/subsys/system/cmd
diff -u -r1.4 -r1.5
--- ver.c 15 Aug 2004 22:15:23 -0000 1.4
+++ ver.c 8 Nov 2004 02:16:06 -0000 1.5
@@ -21,12 +21,7 @@
* New version info and some output changes.
*/
-#include "config.h"
-
#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-#include <ctype.h>
VOID ShortVersion (VOID)
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- verify.c 15 Aug 2004 22:15:23 -0000 1.2
+++ verify.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -15,14 +15,10 @@
* Unicode and redirection ready!
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_VERIFY
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
/* global verify flag */
static BOOL bVerify = FALSE;
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- vol.c 15 Aug 2004 22:15:23 -0000 1.2
+++ vol.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -20,14 +20,10 @@
* Redirection ready!
*/
-#include "config.h"
+#include "precomp.h"
#ifdef INCLUDE_CMD_VOL
-#include "precomp.h"
-#include <tchar.h>
-#include <string.h>
-
static INT
PrintVolumeHeader (LPTSTR pszRootPath)
reactos/subsys/system/cmd
diff -u -r1.6 -r1.7
--- where.c 22 Aug 2004 20:55:15 -0000 1.6
+++ where.c 8 Nov 2004 02:16:06 -0000 1.7
@@ -74,11 +74,7 @@
*
*/
-#include "config.h"
-
#include "precomp.h"
-#include <string.h>
-#include <stdlib.h>
/* initial size of environment variable buffer */
reactos/subsys/system/cmd
diff -u -r1.2 -r1.3
--- window.c 15 Aug 2004 22:15:23 -0000 1.2
+++ window.c 8 Nov 2004 02:16:06 -0000 1.3
@@ -1,4 +1,4 @@
-/* $Id: window.c,v 1.2 2004/08/15 22:15:23 chorns Exp $
+/* $Id: window.c,v 1.3 2004/11/08 02:16:06 weiden Exp $
*
* WINDOW.C - activate & window internal commands.
*
@@ -13,15 +13,10 @@
*/
-#include "config.h"
+#include "precomp.h"
#if ( defined(INCLUDE_CMD_WINDOW) || defined(INCLUDE_CMD_ACTIVATE) )
-#include "precomp.h"
-#include <stdlib.h>
-#include <string.h>
-#include <tchar.h>
-
#define A_MIN 0x01
#define A_MAX 0x02
CVSspam 0.2.8