From 9bf515974dc2f5c0328d2af341639b62b146d99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Tue, 13 Sep 2011 10:33:47 +0200 Subject: [PATCH] cmd: Make some variables static. --- programs/cmd/builtins.c | 2 +- programs/cmd/wcmdmain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index 716db4bbe48..1e3defad24c 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -45,7 +45,7 @@ static void WCMD_part_execute(CMD_LIST **commands, const WCHAR *firstcmd, const WCHAR *variable, const WCHAR *value, BOOL isIF, BOOL conditionTRUE); -struct env_stack *saved_environment; +static struct env_stack *saved_environment; struct env_stack *pushd_directories; extern HINSTANCE hinst; diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index 840c5da740d..02260e32905 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -99,7 +99,7 @@ extern struct env_stack *pushd_directories; static const WCHAR *pagedMessage = NULL; static char *output_bufA = NULL; #define MAX_WRITECONSOLE_SIZE 65535 -BOOL unicodePipes = FALSE; +static BOOL unicodePipes = FALSE; /*******************************************************************