diff options
author | 2020-10-13 04:42:28 +0000 | |
---|---|---|
committer | 2020-10-13 04:42:28 +0000 | |
commit | 036a3c97db0a437193eb7e0c8716ea40cb440a8b (patch) | |
tree | 43f3b08c3b3b6162602dfebfa98f9419e64cb223 /lib/libc/regex/cclass.h | |
parent | annoying whitespace gliches spotted during re-read (diff) | |
download | wireguard-openbsd-036a3c97db0a437193eb7e0c8716ea40cb440a8b.tar.xz wireguard-openbsd-036a3c97db0a437193eb7e0c8716ea40cb440a8b.zip |
Do some easy .data -> .rodata/.data.rel.ro conversions
ok millert@ deraadt@
Diffstat (limited to 'lib/libc/regex/cclass.h')
-rw-r--r-- | lib/libc/regex/cclass.h | 10 |
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", ""} , |