summaryrefslogtreecommitdiff
path: root/lib/getusershell.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-12 04:13:46 +0000
committerJim Meyering <jim@meyering.net>1992-11-12 04:13:46 +0000
commit29e59276fc2d28fcbede9bad652e0e648d33fc5f (patch)
tree41548921a6cc8d85b878711e5435be5b6e8875da /lib/getusershell.c
parentf0210b97740ef90f9fea6bcb9482c2b863bcb32e (diff)
downloadgnulib-29e59276fc2d28fcbede9bad652e0e648d33fc5f.tar.gz
Make tables static and const when possible.pre-getopt
getdate.c (getdate_yyerr, getdate_yylex): Declare these functions static.
Diffstat (limited to 'lib/getusershell.c')
-rw-r--r--lib/getusershell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getusershell.c b/lib/getusershell.c
index 6e2e0c105e..1dee6e7ab8 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
};