From 5c9c8b4b262806356d882d1b88b96796d0755af8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 26 Jan 2001 06:50:46 +0000 Subject: Make cin be static --- coreutils/ls.c | 2 +- ls.c | 2 +- more.c | 2 +- util-linux/more.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coreutils/ls.c b/coreutils/ls.c index 215c58b..2df41d0 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 215c58b..2df41d0 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 538708c..03cb3bc 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 538708c..03cb3bc 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; -- cgit v1.1