mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/cmd/.cvsignore: Add *.gch. * subsys/system/cmd/precomp.h: New file. * subsys/system/cmd/Makefile (TARGET_PCH): Set to precomp.h. * subsys/system/cmd/*.c: Use pre-compiled header. svn path=/trunk/; revision=10564
This commit is contained in:
parent
0ded881f1f
commit
74ad04945e
57 changed files with 74 additions and 156 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* subsys/system/cmd/.cvsignore: Add *.gch.
|
||||
* subsys/system/cmd/precomp.h: New file.
|
||||
* subsys/system/cmd/Makefile (TARGET_PCH): Set to precomp.h.
|
||||
* subsys/system/cmd/*.c: Use pre-compiled header.
|
||||
|
||||
2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* lib/user32/include/.cvsignore: New file.
|
||||
|
|
|
@ -15,3 +15,4 @@
|
|||
*.plg
|
||||
*.bak
|
||||
*.map
|
||||
*.gch
|
||||
|
|
|
@ -31,14 +31,12 @@
|
|||
|
||||
#ifdef FEATURE_ALIASES
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
typedef struct tagALIAS
|
||||
{
|
||||
|
|
|
@ -33,13 +33,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_ATTRIB
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
static VOID
|
||||
PrintAttribute (LPTSTR pszPath, LPTSTR pszFile, BOOL bRecurse)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: batch.c,v 1.3 2003/12/26 09:52:37 navaraf Exp $
|
||||
/* $Id: batch.c,v 1.4 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* BATCH.C - batch file processor for CMD.EXE.
|
||||
*
|
||||
|
@ -58,13 +58,12 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -25,11 +25,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_BEEP
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: call.c,v 1.2 2003/08/07 09:27:42 hbirr Exp $
|
||||
/* $Id: call.c,v 1.3 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* CALL.C - call internal batch command.
|
||||
*
|
||||
|
@ -28,13 +28,12 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -13,13 +13,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_CHCP
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT CommandChcp (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
|
|
|
@ -18,13 +18,12 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_CHOICE
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -27,12 +27,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_CLS
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT cmd_cls (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: cmd.c,v 1.17 2004/07/16 20:39:06 jc Exp $
|
||||
/* $Id: cmd.c,v 1.18 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* CMD.C - command-line interface.
|
||||
*
|
||||
|
@ -133,7 +133,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -146,7 +146,6 @@
|
|||
#define NT_SUCCESS(StatCode) ((NTSTATUS)(StatCode) >= 0)
|
||||
#endif
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
#include <shellapi.h>
|
||||
|
|
|
@ -99,11 +99,10 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -19,10 +19,9 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
/* a list of all the internal commands, associating their command names */
|
||||
/* to the functions to process them */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: color.c,v 1.4 2004/02/19 17:04:11 gvg Exp $
|
||||
/* $Id: color.c,v 1.5 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* COLOR.C - color internal command.
|
||||
*
|
||||
|
@ -21,12 +21,11 @@
|
|||
#include "config.h"
|
||||
|
||||
#ifdef INCLUDE_CMD_COLOR
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
static VOID ColorHelp (VOID)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: console.c,v 1.7 2004/06/23 19:32:17 weiden Exp $
|
||||
/* $Id: console.c,v 1.8 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* CONSOLE.C - console input/output functions.
|
||||
*
|
||||
|
@ -11,14 +11,12 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
#define OUTPUT_BUFFER_SIZE 4096
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: copy.c,v 1.4 2003/08/11 00:22:04 royce Exp $
|
||||
/* $Id: copy.c,v 1.5 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* COPY.C -- copy internal command.
|
||||
*
|
||||
|
@ -26,14 +26,13 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_COPY
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -32,13 +32,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_DATE
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
static WORD awMonths[2][13] =
|
||||
{
|
||||
|
|
|
@ -38,14 +38,13 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_DEL
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -13,12 +13,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_DELAY
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT CommandDelay (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: dir.c,v 1.10 2004/07/03 17:40:24 navaraf Exp $
|
||||
/* $Id: dir.c,v 1.11 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* DIR.C - dir internal command.
|
||||
*
|
||||
|
@ -124,15 +124,13 @@
|
|||
#include "config.h"
|
||||
|
||||
#ifdef INCLUDE_CMD_DIR
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/* flag definitions */
|
||||
enum
|
||||
|
|
|
@ -18,13 +18,11 @@
|
|||
|
||||
#ifdef FEATURE_DIRECTORY_STACK
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
typedef struct tagDIRENTRY
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: echo.c,v 1.3 2004/04/30 16:52:41 navaraf Exp $
|
||||
/* $Id: echo.c,v 1.4 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* ECHO.C - internal echo commands.
|
||||
*
|
||||
|
@ -26,11 +26,10 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -19,13 +19,11 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
#define INVALID_SWITCH _T("Invalid switch - /%c\n")
|
||||
#define TOO_MANY_PARAMETERS _T("Too many parameters - %s\n")
|
||||
|
|
|
@ -22,15 +22,13 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
#ifdef FEATURE_UNIX_FILENAME_COMPLETION
|
||||
|
||||
|
|
|
@ -29,13 +29,12 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -12,14 +12,12 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_FREE
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/*
|
||||
* convert
|
||||
|
|
|
@ -25,12 +25,11 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -37,24 +37,16 @@
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
||||
#ifdef FEATURE_HISTORY
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
typedef struct tagHISTORY
|
||||
{
|
||||
|
|
|
@ -28,12 +28,11 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -126,14 +126,12 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
#ifdef INCLUDE_CMD_CHDIR
|
||||
|
||||
|
|
|
@ -18,13 +18,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_LABEL
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT cmd_label (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
|
|
|
@ -13,13 +13,11 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
TCHAR cDateSeparator;
|
||||
TCHAR cTimeSeparator;
|
||||
|
|
|
@ -13,6 +13,8 @@ TARGET_APPTYPE = console
|
|||
|
||||
TARGET_NAME = cmd
|
||||
|
||||
TARGET_PCH = precomp.h
|
||||
|
||||
TARGET_INSTALLDIR = system32
|
||||
|
||||
TARGET_CFLAGS = -D__USE_W32API -DANONYMOUSUNIONS -Wall -Werror \
|
||||
|
|
|
@ -12,13 +12,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_MEMORY
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/*
|
||||
* convert
|
||||
|
|
|
@ -31,15 +31,13 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/*
|
||||
* get a character out-of-band and honor Ctrl-Break characters
|
||||
|
|
|
@ -26,13 +26,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_MOVE
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
#define OVERWRITE_NO 0
|
||||
#define OVERWRITE_YES 1
|
||||
|
|
|
@ -10,14 +10,10 @@
|
|||
#include "config.h"
|
||||
|
||||
#ifdef INCLUDE_CMD_MSGBOX
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <tchar.h>
|
||||
#include "cmd.h"
|
||||
//#include <assert.h>
|
||||
|
||||
//#include <malloc.h>
|
||||
|
||||
|
||||
#define U_TYPE_INIT 0
|
||||
|
|
|
@ -27,13 +27,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_PATH
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/* size of environment variable buffer */
|
||||
#define ENV_BUFFER_SIZE 1024
|
||||
|
|
|
@ -21,11 +21,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_PAUSE
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
2
reactos/subsys/system/cmd/precomp.h
Normal file
2
reactos/subsys/system/cmd/precomp.h
Normal file
|
@ -0,0 +1,2 @@
|
|||
#include "cmd.h"
|
||||
#include <windows.h>
|
|
@ -46,13 +46,11 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/*
|
||||
* print the command-line prompt
|
||||
|
|
|
@ -26,13 +26,11 @@
|
|||
|
||||
#ifdef FEATURE_REDIRECTION
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
static BOOL
|
||||
IsRedirection (TCHAR c)
|
||||
|
|
|
@ -21,12 +21,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_RENAME
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
enum
|
||||
|
|
|
@ -13,13 +13,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_SCREEN
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT CommandScreen (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
|
|
|
@ -35,13 +35,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_SET
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/* initial size of environment variable buffer */
|
||||
#define ENV_BUFFER_SIZE 1024
|
||||
|
|
|
@ -22,11 +22,10 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
#include "batch.h"
|
||||
|
||||
|
||||
|
|
|
@ -11,14 +11,12 @@
|
|||
#include "config.h"
|
||||
|
||||
#ifdef INCLUDE_CMD_START
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT cmd_start (LPTSTR first, LPTSTR rest)
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ is to be called
|
|||
other are internal service functions*/
|
||||
|
||||
|
||||
#include "cmd.h"
|
||||
#include "precomp.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <tchar.h>
|
||||
|
|
|
@ -25,13 +25,11 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_TIME
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
static BOOL ParseTime (LPTSTR s)
|
||||
{
|
||||
|
|
|
@ -10,12 +10,11 @@
|
|||
#include "config.h"
|
||||
|
||||
#ifdef INCLUDE_CMD_TIMER
|
||||
#include "cmd.h"
|
||||
#include "precomp.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <tchar.h>
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
#define NCS_NOT_SPECIFIED -1
|
||||
|
|
|
@ -10,12 +10,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_TITLE
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT cmd_title (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
|
|
|
@ -27,12 +27,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_TYPE
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
INT cmd_type (LPTSTR cmd, LPTSTR param)
|
||||
{
|
||||
|
|
|
@ -23,14 +23,11 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
|
||||
VOID ShortVersion (VOID)
|
||||
{
|
||||
|
|
|
@ -19,12 +19,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_VERIFY
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/* global verify flag */
|
||||
static BOOL bVerify = FALSE;
|
||||
|
|
|
@ -24,12 +24,10 @@
|
|||
|
||||
#ifdef INCLUDE_CMD_VOL
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
static INT
|
||||
PrintVolumeHeader (LPTSTR pszRootPath)
|
||||
|
|
|
@ -76,12 +76,10 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmd.h"
|
||||
|
||||
|
||||
/* initial size of environment variable buffer */
|
||||
#define ENV_BUFFER_SIZE 1024
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: window.c,v 1.1 2003/03/20 19:19:23 rcampbell Exp $
|
||||
/* $Id: window.c,v 1.2 2004/08/15 22:15:23 chorns Exp $
|
||||
*
|
||||
* WINDOW.C - activate & window internal commands.
|
||||
*
|
||||
|
@ -17,8 +17,7 @@
|
|||
|
||||
#if ( defined(INCLUDE_CMD_WINDOW) || defined(INCLUDE_CMD_ACTIVATE) )
|
||||
|
||||
#include "cmd.h"
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <tchar.h>
|
||||
|
|
Loading…
Reference in a new issue