summaryrefslogtreecommitdiff
path: root/ext/ereg/regex/cclass.h
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-01-25 20:21:18 +0000
committerNuno Lopes <nlopess@php.net>2008-01-25 20:21:18 +0000
commitd2a2269f5597f35c3e2bc98e57aa24c817a98d6f (patch)
tree0d795b6486ce337f1cc5481a9134dd23f7ad66d6 /ext/ereg/regex/cclass.h
parent8cca6b219e44126a27aa59203c4b548fe5c5ca81 (diff)
downloadphp-git-d2a2269f5597f35c3e2bc98e57aa24c817a98d6f.tar.gz
MFB: const keywording
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",