diff options
Diffstat (limited to 'regparse.c')
-rw-r--r-- | regparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regparse.c b/regparse.c index 1d669212d5..f924f1dfff 100644 --- a/regparse.c +++ b/regparse.c @@ -312,7 +312,7 @@ typedef struct { static int strend_cmp(st_strend_key*, st_strend_key*); static int strend_hash(st_strend_key*); -static struct st_hash_type type_strend_hash = { +static const struct st_hash_type type_strend_hash = { strend_cmp, strend_hash, }; @@ -4736,7 +4736,7 @@ static int type_cclass_hash(type_cclass_key* key) return val + (val >> 5); } -static struct st_hash_type type_type_cclass_hash = { +static const struct st_hash_type type_type_cclass_hash = { type_cclass_cmp, type_cclass_hash, }; |