mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-time: timezone_names should be const
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user