OSDN Git Service

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 215c58b..2df41d0 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 215c58b..2df41d0 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 538708c..03cb3bc 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 538708c..03cb3bc 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;