summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index a84c6f3d90..1760332655 100644
--- a/time.c
+++ b/time.c
@@ -327,7 +327,7 @@ time_s_at(int argc, VALUE *argv, VALUE klass)
return t;
}
-static const char *months[] = {
+static const char *const months[] = {
"jan", "feb", "mar", "apr", "may", "jun",
"jul", "aug", "sep", "oct", "nov", "dec",
};