summaryrefslogtreecommitdiff
path: root/regex/cname.h
diff options
context:
space:
mode:
Diffstat (limited to 'regex/cname.h')
-rw-r--r--regex/cname.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/regex/cname.h b/regex/cname.h
index 2b6a1a8496f..06865f3e102 100644
--- a/regex/cname.h
+++ b/regex/cname.h
@@ -1,7 +1,7 @@
/* character-name table */
static struct cname {
- char *name;
- char code;
+ const char *name;
+ const char code;
} cnames[] = {
{"NUL", '\0'},
{"SOH", '\001'},