diff options
Diffstat (limited to 'usr.bin/getconf')
| -rw-r--r-- | usr.bin/getconf/confstr.gperf | 2 | ||||
| -rw-r--r-- | usr.bin/getconf/sysconf.gperf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/getconf/confstr.gperf b/usr.bin/getconf/confstr.gperf index 2abb55fae2bb5..ad2f509a04f3f 100644 --- a/usr.bin/getconf/confstr.gperf +++ b/usr.bin/getconf/confstr.gperf @@ -18,7 +18,7 @@ static const struct map *in_word_set(const char *str, unsigned int len); %} -struct map { char *name; int key; }; +struct map { const char *name; int key; }; %% PATH, _CS_PATH POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS diff --git a/usr.bin/getconf/sysconf.gperf b/usr.bin/getconf/sysconf.gperf index 10e0204734722..b917000d7818b 100644 --- a/usr.bin/getconf/sysconf.gperf +++ b/usr.bin/getconf/sysconf.gperf @@ -120,7 +120,7 @@ static const struct map *in_word_set(const char *str, unsigned int len); %} -struct map { char *name; int key; }; +struct map { const char *name; int key; }; %% AIO_LISTIO_MAX, _SC_AIO_LISTIO_MAX AIO_MAX, _SC_AIO_MAX |
