aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-26 06:50:46 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-26 06:50:46 +0000
commit5c9c8b4b262806356d882d1b88b96796d0755af8 (patch)
treef7dba207288fa9ccb96b52cc51b83e1bd0d1b1cf
parentd5cad14b11bc5a50309214d000429017eca61802 (diff)
downloadbusybox-5c9c8b4b262806356d882d1b88b96796d0755af8.tar.gz
Make cin be static
-rw-r--r--coreutils/ls.c2
-rw-r--r--ls.c2
-rw-r--r--more.c2
-rw-r--r--util-linux/more.c2
4 files changed, 4 insertions, 4 deletions
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;