diff options
author | Denys Vlasenko | 2010-09-08 13:33:26 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-09-08 13:33:26 +0200 |
commit | 9b78255dcaf79c99d337641a4135e402e00ee3a1 (patch) | |
tree | 6cda98d7caf7059006b3a7d726234c322d1532ff /shell | |
parent | 1fd3d94a6c4c45d6106958c0a634dbbb7a7a5e12 (diff) | |
download | busybox-9b78255dcaf79c99d337641a4135e402e00ee3a1.zip busybox-9b78255dcaf79c99d337641a4135e402e00ee3a1.tar.gz |
hush: remove unused enum typedef
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c index 57782f5..e6cb348 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -349,7 +349,7 @@ typedef struct nommu_save_t { } nommu_save_t; #endif -typedef enum reserved_style { +enum { RES_NONE = 0, #if ENABLE_HUSH_IF RES_IF , @@ -378,7 +378,7 @@ typedef enum reserved_style { #endif RES_XXXX , RES_SNTX -} reserved_style; +}; typedef struct o_string { char *data; @@ -6872,7 +6872,7 @@ static int run_list(struct pipe *pi) enum { cond_code = 0 }; #endif #if HAS_KEYWORDS - smallint rword; /* enum reserved_style */ + smallint rword; /* RES_foo */ smallint last_rword; /* ditto */ #endif |