From 5e8a2136e77b00534434ca09013b82b54a34e781 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 27 Dec 2009 18:04:05 +0000 Subject: 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" --- bin/sh/eval.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/sh/eval.h') 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 */ -- cgit v1.1