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/strftime.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/strftime.c')
-rw-r--r-- | lib/strftime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strftime.c b/lib/strftime.c index cc4953e68..b6695342a 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -94,12 +94,12 @@ enum padding none, blank, zero }; -static char *days[] = +static char const* const days[] = { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; -static char *months[] = +static char const * const months[] = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" |