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/eval.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/eval.h')
-rw-r--r-- | bin/sh/eval.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/eval.h b/bin/sh/eval.h index c82585e..bf98782 100644 --- a/bin/sh/eval.h +++ b/bin/sh/eval.h @@ -35,6 +35,7 @@ extern char *commandname; /* currently executing command */ extern int exitstatus; /* exit status of last command */ +extern int oexitstatus; /* saved exit status */ extern struct strlist *cmdenviron; /* environment for builtin command */ |