aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-09-08 13:33:26 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-09-08 13:33:26 +0200
commit9b78255dcaf79c99d337641a4135e402e00ee3a1 (patch)
tree6cda98d7caf7059006b3a7d726234c322d1532ff
parent1fd3d94a6c4c45d6106958c0a634dbbb7a7a5e12 (diff)
downloadbusybox-w32-9b78255dcaf79c99d337641a4135e402e00ee3a1.tar.gz
busybox-w32-9b78255dcaf79c99d337641a4135e402e00ee3a1.tar.bz2
busybox-w32-9b78255dcaf79c99d337641a4135e402e00ee3a1.zip
hush: remove unused enum typedef
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 57782f52b..e6cb34859 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -349,7 +349,7 @@ typedef struct nommu_save_t {
349} nommu_save_t; 349} nommu_save_t;
350#endif 350#endif
351 351
352typedef enum reserved_style { 352enum {
353 RES_NONE = 0, 353 RES_NONE = 0,
354#if ENABLE_HUSH_IF 354#if ENABLE_HUSH_IF
355 RES_IF , 355 RES_IF ,
@@ -378,7 +378,7 @@ typedef enum reserved_style {
378#endif 378#endif
379 RES_XXXX , 379 RES_XXXX ,
380 RES_SNTX 380 RES_SNTX
381} reserved_style; 381};
382 382
383typedef struct o_string { 383typedef struct o_string {
384 char *data; 384 char *data;
@@ -6872,7 +6872,7 @@ static int run_list(struct pipe *pi)
6872 enum { cond_code = 0 }; 6872 enum { cond_code = 0 };
6873#endif 6873#endif
6874#if HAS_KEYWORDS 6874#if HAS_KEYWORDS
6875 smallint rword; /* enum reserved_style */ 6875 smallint rword; /* RES_foo */
6876 smallint last_rword; /* ditto */ 6876 smallint last_rword; /* ditto */
6877#endif 6877#endif
6878 6878