diff options
author | Jim Meyering <jim@meyering.net> | 1992-11-12 04:13:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-11-12 04:13:46 +0000 |
commit | 5fc2263354892487337ab870520c9b682e8a893e (patch) | |
tree | 069dbb951c1522befe7ffb54e0b9c332f5f3b20d /lib/getusershell.c | |
parent | 83f157a7cc9116102722b26796bc5a201a8f3292 (diff) | |
download | coreutils-5fc2263354892487337ab870520c9b682e8a893e.tar.xz |
Make tables static and const when possible.
getdate.c (getdate_yyerr, getdate_yylex): Declare these functions static.
Diffstat (limited to 'lib/getusershell.c')
-rw-r--r-- | lib/getusershell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getusershell.c b/lib/getusershell.c index 6e2e0c105..1dee6e7ab 100644 --- a/lib/getusershell.c +++ b/lib/getusershell.c @@ -35,7 +35,7 @@ char *realloc (); static int readname (); /* List of shells to use if the shells file is missing. */ -static char *default_shells[] = +static char const* const default_shells[] = { "/bin/sh", "/bin/csh", "/usr/bin/sh", "/usr/bin/csh", NULL }; |