summaryrefslogtreecommitdiff
path: root/ext/ereg/regex/cclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ereg/regex/cclass.h')
-rw-r--r--ext/ereg/regex/cclass.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ereg/regex/cclass.h b/ext/ereg/regex/cclass.h
index df41694b04..d6b5760eef 100644
--- a/ext/ereg/regex/cclass.h
+++ b/ext/ereg/regex/cclass.h
@@ -1,8 +1,8 @@
/* character-class table */
-static struct cclass {
- unsigned char *name;
- unsigned char *chars;
- unsigned char *multis;
+static const struct cclass {
+ const unsigned char *name;
+ const unsigned char *chars;
+ const unsigned char *multis;
} cclasses[] = {
{"alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ""},
{"alpha", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",