Make cin be static
authorEric Andersen <andersen@codepoet.org>
Fri, 26 Jan 2001 06:50:46 +0000 (06:50 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 26 Jan 2001 06:50:46 +0000 (06:50 -0000)
coreutils/ls.c
ls.c
more.c
util-linux/more.c

index 215c58bb61dd9d47da12dbe05f1a50bdb9b98a14..2df41d07f20127a5a598c0cede2c6b52488e6673 100644 (file)
@@ -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 215c58bb61dd9d47da12dbe05f1a50bdb9b98a14..2df41d07f20127a5a598c0cede2c6b52488e6673 100644 (file)
--- 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 538708caac1b9c9fa8c3a22e46ed8e8d351b271c..03cb3bc2bdc0e8d63ea84a075f92d338757afa67 100644 (file)
--- 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;
 
index 538708caac1b9c9fa8c3a22e46ed8e8d351b271c..03cb3bc2bdc0e8d63ea84a075f92d338757afa67 100644 (file)
@@ -47,7 +47,7 @@
 #              define getTermSettings(fd,argp) tcgetattr(fd, argp);
 #      endif
 
-FILE *cin;
+static FILE *cin;
 
 static struct termios initial_settings, new_settings;