summaryrefslogtreecommitdiffstats
path: root/usr.bin/iconv
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-05-23 18:07:01 +0000
committered <ed@FreeBSD.org>2013-05-23 18:07:01 +0000
commit6f8795b5ab5d586e55f577d701d02f53a152f72f (patch)
tree5c31f57b6144f27fdaa91377b9d91aa0835b97f0 /usr.bin/iconv
parent4a88e6a5c9ffe63f647c893d01bd597820a03932 (diff)
downloadFreeBSD-src-6f8795b5ab5d586e55f577d701d02f53a152f72f.zip
FreeBSD-src-6f8795b5ab5d586e55f577d701d02f53a152f72f.tar.gz
Let iconv build on -HEAD properly.
- Add NO_WMISSING_VARIABLE_DECLARATIONS where we use Yacc/Lex. - Add variable declarations where possible. - Add missing static keyword.
Diffstat (limited to 'usr.bin/iconv')
-rw-r--r--usr.bin/iconv/iconv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/iconv/iconv.c b/usr.bin/iconv/iconv.c
index 0da65a0..f7bd0a36 100644
--- a/usr.bin/iconv/iconv.c
+++ b/usr.bin/iconv/iconv.c
@@ -47,8 +47,7 @@ static void do_conv(FILE *, const char *, const char *, bool, bool);
static int do_list(unsigned int, const char * const *, void *);
static void usage(void);
-struct option long_options[] =
-{
+static struct option long_options[] = {
{"from-code", required_argument, NULL, 'f'},
{"list", no_argument, NULL, 'l'},
{"silent", no_argument, NULL, 's'},
OpenPOWER on IntegriCloud