summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-26 08:30:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-26 08:30:22 +0000
commite615e3ce302e92c868b2f7b5a71fa628186497ec (patch)
tree75dd6237c053370c0ba872982d1a9a52753194c7 /time.c
parent61234dab9c43eb409ae85a4652ed50b9595b9cf5 (diff)
* error.c (builtin_types), signal.c (siglist), st.c (primes),
struct.c (ref_func), time.c (months): constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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",
};