diff options
Diffstat (limited to 'src/myctime.c')
-rw-r--r-- | src/myctime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/myctime.c b/src/myctime.c index ebb01ba..69d7004 100644 --- a/src/myctime.c +++ b/src/myctime.c @@ -4,8 +4,8 @@ #include "datetime.h" -static char *daytab[7] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; -static char *montab[12] = { +static const char *daytab[7] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; +static const char *montab[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; static char result[30]; |