mruby-time: timezone_names should be const

This commit is contained in:
cremno
2014-03-04 21:08:55 +01:00
parent e34b69f582
commit 9b3033bb53
+1 -1
View File
@@ -97,7 +97,7 @@ typedef struct mrb_timezone_name {
size_t len;
} mrb_timezone_name;
static mrb_timezone_name timezone_names[] = {
static const mrb_timezone_name timezone_names[] = {
{ "none", sizeof("none") - 1 },
{ "UTC", sizeof("UTC") - 1 },
{ "LOCAL", sizeof("LOCAL") - 1 },