projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd3d94
)
hush: remove unused enum typedef
author
Denys Vlasenko
<dvlasenk@redhat.com>
Wed, 8 Sep 2010 11:33:26 +0000
(13:33 +0200)
committer
Denys Vlasenko
<dvlasenk@redhat.com>
Wed, 8 Sep 2010 11:33:26 +0000
(13:33 +0200)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 57782f52b04342954f374cacffea4cd02732aa57..e6cb348592262d93285b6af6ddcb35281ec15db8 100644
(file)
--- 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