diff options
Diffstat (limited to 'src/fr-command-iso.c')
-rw-r--r-- | src/fr-command-iso.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fr-command-iso.c b/src/fr-command-iso.c index 9116b6e..3be83db 100644 --- a/src/fr-command-iso.c +++ b/src/fr-command-iso.c @@ -47,9 +47,9 @@ mktime_from_string (char *month, char *mday, char *year) { - static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", - "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; - struct tm tm = {0, }; + static const char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", + "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; + struct tm tm = {0, }; tm.tm_isdst = -1; |