summaryrefslogtreecommitdiff
path: root/lib/libc/regex/cclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/regex/cclass.h')
-rw-r--r--lib/libc/regex/cclass.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/regex/cclass.h b/lib/libc/regex/cclass.h
index 9f144a6b696..9a1bea88729 100644
--- a/lib/libc/regex/cclass.h
+++ b/lib/libc/regex/cclass.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cclass.h,v 1.5 2003/06/02 20:18:36 millert Exp $ */
+/* $OpenBSD: cclass.h,v 1.6 2020/10/13 04:42:28 guenther Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994 Henry Spencer.
@@ -36,10 +36,10 @@
*/
/* character-class table */
-static struct cclass {
- char *name;
- char *chars;
- char *multis;
+static const struct cclass {
+ const char *name;
+ const char *chars;
+ const char *multis;
} cclasses[] = {
{ "alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
0123456789", ""} ,