summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/cname.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/regex/cname.h')
-rw-r--r--lib/libc/regex/cname.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/cname.h b/lib/libc/regex/cname.h
index 7087bcb..d404af0 100644
--- a/lib/libc/regex/cname.h
+++ b/lib/libc/regex/cname.h
@@ -36,7 +36,7 @@
/* character-name table */
static struct cname {
- char *name;
+ const char *name;
char code;
} cnames[] = {
{"NUL", '\0'},
OpenPOWER on IntegriCloud