diff options
author | markm <markm@FreeBSD.org> | 2003-08-22 17:32:07 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-08-22 17:32:07 +0000 |
commit | 39e9b9e98923adef2448e1ac49af7bd905d2d72f (patch) | |
tree | 1eb050875892779ca4712d66dce6d99317516b72 /usr.bin/getconf/confstr.gperf | |
parent | 0ab867f1c2e75dea5b91d280648a2d35e96cddec (diff) | |
download | FreeBSD-src-39e9b9e98923adef2448e1ac49af7bd905d2d72f.zip FreeBSD-src-39e9b9e98923adef2448e1ac49af7bd905d2d72f.tar.gz |
Warns fixes. Mainly unused headers/params/vars removal, but also
some malloc cleanup.
Diffstat (limited to 'usr.bin/getconf/confstr.gperf')
-rw-r--r-- | usr.bin/getconf/confstr.gperf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/getconf/confstr.gperf b/usr.bin/getconf/confstr.gperf index 14ad5f2..c629987 100644 --- a/usr.bin/getconf/confstr.gperf +++ b/usr.bin/getconf/confstr.gperf @@ -15,7 +15,7 @@ /* * Override gperf's built-in external scope. */ -static const struct map *in_word_set(const char *str, unsigned int len); +static const struct map *in_word_set(const char *str); /* * The Standard seems a bit ambiguous over whether the POSIX_V6_* @@ -58,7 +58,7 @@ find_confstr(const char *name, int *key) { const struct map *rv; - rv = in_word_set(name, strlen(name)); + rv = in_word_set(name); if (rv != NULL) { if (rv->valid) { *key = rv->key; |