summaryrefslogtreecommitdiff
path: root/src/fr-command-lha.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-lha.c')
-rw-r--r--src/fr-command-lha.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fr-command-lha.c b/src/fr-command-lha.c
index a3b7398..4d00af7 100644
--- a/src/fr-command-lha.c
+++ b/src/fr-command-lha.c
@@ -48,10 +48,10 @@ mktime_from_string (char *month,
char *mday,
char *time_or_year)
{
- static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
- "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
- struct tm tm = {0, };
- char **fields;
+ static const char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
+ "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
+ struct tm tm = {0, };
+ char **fields;
tm.tm_isdst = -1;