diff options
author | jilles <jilles@FreeBSD.org> | 2015-03-01 21:46:55 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2015-03-01 21:46:55 +0000 |
commit | bbd4d38fcaeebd7eda1dfb2906d1cd019f93e8b6 (patch) | |
tree | 8f9339bae861ac41857ef95632f9b0d69ac68a65 /bin/sh/options.h | |
parent | 58c94606707d60fc809e545dc78735fdbc57b06a (diff) | |
download | FreeBSD-src-bbd4d38fcaeebd7eda1dfb2906d1cd019f93e8b6.zip FreeBSD-src-bbd4d38fcaeebd7eda1dfb2906d1cd019f93e8b6.tar.gz |
sh: Fix compiler warnings related to duplicate or missing declarations.
Diffstat (limited to 'bin/sh/options.h')
-rw-r--r-- | bin/sh/options.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/sh/options.h b/bin/sh/options.h index 0994862..2048a35 100644 --- a/bin/sh/options.h +++ b/bin/sh/options.h @@ -73,6 +73,7 @@ struct optent { char val; }; +extern struct optent optlist[NOPTS]; #ifdef DEFINE_OPTIONS struct optent optlist[NOPTS] = { { "errexit", 'e', 0 }, @@ -95,8 +96,6 @@ struct optent optlist[NOPTS] = { { "physical", 'P', 0 }, { "trackall", 'h', 0 }, }; -#else -extern struct optent optlist[NOPTS]; #endif |