summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-01 07:01:40 +0000
committerJim Meyering <jim@meyering.net>1992-11-01 07:01:40 +0000
commitf33e06711c51330972e2adf07d21a4e69c8f44f6 (patch)
tree58205cdd929d7e9c5dacb7092ecd391f21bc6be5 /src/stty.c
parent505e28b60627469b360fc07f57e9709955614e8a (diff)
downloadcoreutils-f33e06711c51330972e2adf07d21a4e69c8f44f6.tar.xz
Make still more file-scope variables `static'.
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stty.c b/src/stty.c
index 8810762cd..7e27cac6f 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -317,7 +317,7 @@ struct control_info
/* Control characters. */
-struct control_info control_info[] =
+static struct control_info control_info[] =
{
{"intr", CINTR, VINTR},
{"quit", CQUIT, VQUIT},
@@ -354,12 +354,12 @@ struct control_info control_info[] =
};
/* The width of the screen, for output wrapping. */
-int max_col;
+static int max_col;
/* Current position, to know when to wrap. */
-int current_col;
+static int current_col;
-struct option longopts[] =
+static struct option longopts[] =
{
{"all", 0, NULL, 'a'},
{"save", 0, NULL, 'g'},