diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-12 14:55:15 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-12 14:55:15 +0000 |
commit | 31f17f880eb2819e299458dfb1bb9e4ffbfd218c (patch) | |
tree | 438a689c633fbb2825d23d2dcfd4230d7507a681 /st.c | |
parent | 8f21d921dc5c45bb3a19f21a9f5ba88fd8700558 (diff) |
st: Add 'static const'
patched by Ken Takata [ruby-core:78558]
https://github.com/k-takata/Onigmo/commit/44e3c0a16da1116be641ea807c1202434b743ace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -192,7 +192,7 @@ struct st_features { /* Features of all possible size tables. */ #if SIZEOF_ST_INDEX_T == 8 #define MAX_POWER2 62 -struct st_features features[] = { +static const struct st_features features[] = { {0, 1, 0, 0x0}, {1, 2, 0, 0x1}, {2, 3, 0, 0x1}, @@ -261,7 +261,7 @@ struct st_features features[] = { #else #define MAX_POWER2 30 -struct st_features features[] = { +static const struct st_features features[] = { {0, 1, 0, 0x1}, {1, 2, 0, 0x1}, {2, 3, 0, 0x2}, |