diff options
| author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-15 21:52:10 +0000 |
|---|---|---|
| committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-15 21:52:10 +0000 |
| commit | 2ec77e221f3354928e99e307932dc4ae812dc433 (patch) | |
| tree | 16d1403589cc0a0be61f0cf9227252520c97de14 | |
| parent | 1d5364767ce76e189b563940923432170a50db82 (diff) | |
| download | busybox-w32-2ec77e221f3354928e99e307932dc4ae812dc433.tar.gz busybox-w32-2ec77e221f3354928e99e307932dc4ae812dc433.tar.bz2 busybox-w32-2ec77e221f3354928e99e307932dc4ae812dc433.zip | |
remove duplicate flag decls
git-svn-id: svn://busybox.net/trunk/busybox@16534 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | shell/msh.c | 6 |
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 | */ |
| 240 | static char *flag; | 240 | static char flags['z' - 'a' + 1]; |
| 241 | /* this looks weird, but is OK ... we index flag with 'a'...'z' */ | ||
| 242 | static char *flag = flags - 'a'; | ||
| 241 | 243 | ||
| 242 | static char *null; /* null value for variable */ | 244 | static char *null; /* null value for variable */ |
| 243 | static int intr; /* interrupt pending */ | 245 | static int intr; /* interrupt pending */ |
| @@ -709,8 +711,6 @@ static struct var *ifs; /* field separators */ | |||
| 709 | static int areanum; /* current allocation area */ | 711 | static int areanum; /* current allocation area */ |
| 710 | static int intr; | 712 | static int intr; |
| 711 | static int inparse; | 713 | static int inparse; |
| 712 | static char flags['z' - 'a' + 1]; | ||
| 713 | static char *flag = flags - 'a'; | ||
| 714 | static char *null = ""; | 714 | static char *null = ""; |
| 715 | static int heedint = 1; | 715 | static int heedint = 1; |
| 716 | static void (*qflag) (int) = SIG_IGN; | 716 | static void (*qflag) (int) = SIG_IGN; |
