From ae56de444003be840adc9036ba9f3ab20d36edf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Fri, 28 Sep 2007 12:17:19 +0000 Subject: [PATCH] Moved shared define to header file Patch by Marc Piulachs, marc (dot) piulachs (at) codexchange.net See issue #2700 for more details. svn path=/trunk/; revision=29279 --- reactos/base/shell/cmd/cmd.h | 3 +++ reactos/base/shell/cmd/copy.c | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/base/shell/cmd/cmd.h b/reactos/base/shell/cmd/cmd.h index cfbe3c011e8..051017491f4 100644 --- a/reactos/base/shell/cmd/cmd.h +++ b/reactos/base/shell/cmd/cmd.h @@ -47,6 +47,9 @@ /* command line buffer length */ #define CMDLINE_LENGTH 8192 +/* 16k = max buffer size */ +#define BUFF_SIZE 16384 + /* global variables */ extern HANDLE hOut; extern HANDLE hIn; diff --git a/reactos/base/shell/cmd/copy.c b/reactos/base/shell/cmd/copy.c index 7a197a115af..1108bb8bacc 100644 --- a/reactos/base/shell/cmd/copy.c +++ b/reactos/base/shell/cmd/copy.c @@ -46,10 +46,7 @@ enum COPY_RESTART = 0x080, /* /Z */ COPY_BINARY = 0x100, /* /B */ }; - -#define BUFF_SIZE 16384 /* 16k = max buffer size */ - - + INT copy (TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH],