summaryrefslogtreecommitdiff
path: root/ext/ereg
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-01-25 20:04:10 +0000
committerNuno Lopes <nlopess@php.net>2008-01-25 20:04:10 +0000
commit678e9196353b7ef1cf184355f74f2a2f225b32ab (patch)
tree4dc40e3457edc59e44e8dd7093424123de0d1cd5 /ext/ereg
parentb89396b11ed1b73c5c2ffe12352305e9be3aff97 (diff)
downloadphp-git-678e9196353b7ef1cf184355f74f2a2f225b32ab.tar.gz
const'ify more 768 bytes
Diffstat (limited to 'ext/ereg')
-rw-r--r--ext/ereg/regex/cname.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ereg/regex/cname.h b/ext/ereg/regex/cname.h
index 670b273882..c2855dad5d 100644
--- a/ext/ereg/regex/cname.h
+++ b/ext/ereg/regex/cname.h
@@ -1,6 +1,6 @@
/* character-name table */
-static struct cname {
- char *name;
+static const struct cname {
+ const char *name;
char code;
} cnames[] = {
{"NUL", '\0'},