summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;