aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-15 21:52:10 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-15 21:52:10 +0000
commit3672fe9e9141c0684cae1e72e84cb2704f2a8702 (patch)
tree16d1403589cc0a0be61f0cf9227252520c97de14
parent1119972f917db59ccb7c74daebf5a0688e9d0e24 (diff)
downloadbusybox-w32-3672fe9e9141c0684cae1e72e84cb2704f2a8702.tar.gz
busybox-w32-3672fe9e9141c0684cae1e72e84cb2704f2a8702.tar.bz2
busybox-w32-3672fe9e9141c0684cae1e72e84cb2704f2a8702.zip
remove duplicate flag decls
-rw-r--r--shell/msh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/msh.c b/shell/msh.c
index 95b4244d7..6c805b53e 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -237,7 +237,9 @@ static struct env {
237 * -x: trace 237 * -x: trace
238 * -u: unset variables net diagnostic 238 * -u: unset variables net diagnostic
239 */ 239 */
240static char *flag; 240static char flags['z' - 'a' + 1];
241/* this looks weird, but is OK ... we index flag with 'a'...'z' */
242static char *flag = flags - 'a';
241 243
242static char *null; /* null value for variable */ 244static char *null; /* null value for variable */
243static int intr; /* interrupt pending */ 245static int intr; /* interrupt pending */
@@ -709,8 +711,6 @@ static struct var *ifs; /* field separators */
709static int areanum; /* current allocation area */ 711static int areanum; /* current allocation area */
710static int intr; 712static int intr;
711static int inparse; 713static int inparse;
712static char flags['z' - 'a' + 1];
713static char *flag = flags - 'a';
714static char *null = ""; 714static char *null = "";
715static int heedint = 1; 715static int heedint = 1;
716static void (*qflag) (int) = SIG_IGN; 716static void (*qflag) (int) = SIG_IGN;