hush: remove unused enum typedef
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
1fd3d94a6c
commit
9b78255dca
@ -349,7 +349,7 @@ typedef struct nommu_save_t {
|
|||||||
} nommu_save_t;
|
} nommu_save_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef enum reserved_style {
|
enum {
|
||||||
RES_NONE = 0,
|
RES_NONE = 0,
|
||||||
#if ENABLE_HUSH_IF
|
#if ENABLE_HUSH_IF
|
||||||
RES_IF ,
|
RES_IF ,
|
||||||
@ -378,7 +378,7 @@ typedef enum reserved_style {
|
|||||||
#endif
|
#endif
|
||||||
RES_XXXX ,
|
RES_XXXX ,
|
||||||
RES_SNTX
|
RES_SNTX
|
||||||
} reserved_style;
|
};
|
||||||
|
|
||||||
typedef struct o_string {
|
typedef struct o_string {
|
||||||
char *data;
|
char *data;
|
||||||
@ -6872,7 +6872,7 @@ static int run_list(struct pipe *pi)
|
|||||||
enum { cond_code = 0 };
|
enum { cond_code = 0 };
|
||||||
#endif
|
#endif
|
||||||
#if HAS_KEYWORDS
|
#if HAS_KEYWORDS
|
||||||
smallint rword; /* enum reserved_style */
|
smallint rword; /* RES_foo */
|
||||||
smallint last_rword; /* ditto */
|
smallint last_rword; /* ditto */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user