diff options
author | jilles <jilles@FreeBSD.org> | 2009-12-27 18:04:05 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2009-12-27 18:04:05 +0000 |
commit | 5e8a2136e77b00534434ca09013b82b54a34e781 (patch) | |
tree | 460140e6f2859387224bc3cf5cc7148cf75b3745 /bin/sh/options.h | |
parent | 6d0737d0cb83394edfef580d58950553333a6cc1 (diff) | |
download | FreeBSD-src-5e8a2136e77b00534434ca09013b82b54a34e781.zip FreeBSD-src-5e8a2136e77b00534434ca09013b82b54a34e781.tar.gz |
sh: Various warning fixes (from WARNS=6 NO_WERROR=1):
- const
- initializations to silence -Wuninitialized (it was safe anyway)
- remove nested extern declarations
- rename "index" locals to "idx"
Diffstat (limited to 'bin/sh/options.h')
-rw-r--r-- | bin/sh/options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/options.h b/bin/sh/options.h index fc9085e..5004549 100644 --- a/bin/sh/options.h +++ b/bin/sh/options.h @@ -102,7 +102,7 @@ extern char *arg0; /* $0 */ extern struct shparam shellparam; /* $@ */ extern char **argptr; /* argument list for builtin commands */ extern char *shoptarg; /* set by nextopt */ -extern char *optptr; /* used by nextopt */ +extern char *nextopt_optptr; /* used by nextopt */ void procargs(int, char **); void optschanged(void); |