From 5fc2263354892487337ab870520c9b682e8a893e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 12 Nov 1992 04:13:46 +0000 Subject: Make tables static and const when possible. getdate.c (getdate_yyerr, getdate_yylex): Declare these functions static. --- lib/strftime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/strftime.c') 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" -- cgit v1.2.3-54-g00ecf