diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-15 01:17:50 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-15 01:17:50 +0000 |
commit | bc1918a7a278195709387fc586dbbf5a56867364 (patch) | |
tree | 6dd40b7c0e01bd8ab75ca7622aee1e6cd277ede4 /shell | |
parent | 3cfebe44c7c7814e22362712b46f00b5636d0716 (diff) | |
download | busybox-w32-bc1918a7a278195709387fc586dbbf5a56867364.tar.gz busybox-w32-bc1918a7a278195709387fc586dbbf5a56867364.tar.bz2 busybox-w32-bc1918a7a278195709387fc586dbbf5a56867364.zip |
trivial fixes to make bbox compile with gcc 4.3.0
Diffstat (limited to 'shell')
-rw-r--r-- | shell/msh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c index fd4a54117..a96e799e2 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -588,7 +588,6 @@ static const struct builtincmd builtincmds[] = { | |||
588 | { NULL , NULL }, | 588 | { NULL , NULL }, |
589 | }; | 589 | }; |
590 | 590 | ||
591 | static struct op *scantree(struct op *); | ||
592 | static struct op *dowholefile(int /*, int*/); | 591 | static struct op *dowholefile(int /*, int*/); |
593 | 592 | ||
594 | 593 | ||
@@ -1278,6 +1277,7 @@ static int newfile(char *s) | |||
1278 | } | 1277 | } |
1279 | 1278 | ||
1280 | 1279 | ||
1280 | #ifdef UNUSED | ||
1281 | struct op *scantree(struct op *head) | 1281 | struct op *scantree(struct op *head) |
1282 | { | 1282 | { |
1283 | struct op *dotnode; | 1283 | struct op *dotnode; |
@@ -1309,6 +1309,7 @@ struct op *scantree(struct op *head) | |||
1309 | 1309 | ||
1310 | return NULL; | 1310 | return NULL; |
1311 | } | 1311 | } |
1312 | #endif | ||
1312 | 1313 | ||
1313 | 1314 | ||
1314 | static void onecommand(void) | 1315 | static void onecommand(void) |