From: Eric Andersen Date: Fri, 26 Jan 2001 06:50:46 +0000 (-0000) Subject: Make cin be static X-Git-Tag: 0_49~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c9c8b4b262806356d882d1b88b96796d0755af8;p=oweals%2Fbusybox.git Make cin be static --- diff --git a/coreutils/ls.c b/coreutils/ls.c index 215c58bb6..2df41d07f 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -198,7 +198,7 @@ unsigned long ls_disp_hr = KILOBYTE; # define getTermSettings(fd,argp) tcgetattr(fd, argp); # endif -FILE *cin; +static FILE *cin; static struct termios initial_settings, new_settings; diff --git a/ls.c b/ls.c index 215c58bb6..2df41d07f 100644 --- a/ls.c +++ b/ls.c @@ -198,7 +198,7 @@ unsigned long ls_disp_hr = KILOBYTE; # define getTermSettings(fd,argp) tcgetattr(fd, argp); # endif -FILE *cin; +static FILE *cin; static struct termios initial_settings, new_settings; diff --git a/more.c b/more.c index 538708caa..03cb3bc2b 100644 --- a/more.c +++ b/more.c @@ -47,7 +47,7 @@ # define getTermSettings(fd,argp) tcgetattr(fd, argp); # endif -FILE *cin; +static FILE *cin; static struct termios initial_settings, new_settings; diff --git a/util-linux/more.c b/util-linux/more.c index 538708caa..03cb3bc2b 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -47,7 +47,7 @@ # define getTermSettings(fd,argp) tcgetattr(fd, argp); # endif -FILE *cin; +static FILE *cin; static struct termios initial_settings, new_settings;