Make tables static and const when possible.
[gnulib.git] / lib / getusershell.c
index 6e2e0c1..1dee6e7 100644 (file)
@@ -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
 };