summaryrefslogtreecommitdiff
path: root/src/join.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-08 20:19:58 +0000
committerJim Meyering <jim@meyering.net>1992-11-08 20:19:58 +0000
commit925487607cfed5d4e68ffa375bc17941934dba07 (patch)
treed9333d9e8759a18b2ea1b3550319491cce519cb0 /src/join.c
parent40d0a06450310c7abc8b393f130fa76de682313d (diff)
downloadcoreutils-925487607cfed5d4e68ffa375bc17941934dba07.tar.xz
Declared lots of external functions and variables static.
Made several statically-initialized arrays `const'
Diffstat (limited to 'src/join.c')
-rw-r--r--src/join.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/join.c b/src/join.c
index 9ac82e0fd..9e3537c03 100644
--- a/src/join.c
+++ b/src/join.c
@@ -89,10 +89,10 @@ static char *empty_filler;
static int join_field_1, join_field_2;
/* List of fields to print. */
-struct outlist *outlist;
+static struct outlist *outlist;
/* Last element in `outlist', where a new element can be added. */
-struct outlist *outlist_end;
+static struct outlist *outlist_end;
/* Tab character separating fields; if this is NUL fields are separated
by any nonempty string of white space, otherwise by exactly one
@@ -558,7 +558,7 @@ add_field_list (str)
/* When using getopt_long_only, no long option can start with
a character that is a short option. */
-static struct option longopts[] =
+static struct option const longopts[] =
{
{"j", 1, NULL, 'j'},
{"j1", 1, NULL, '1'},