summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko2008-04-15 01:17:50 +0000
committerDenis Vlasenko2008-04-15 01:17:50 +0000
commitbc1918a7a278195709387fc586dbbf5a56867364 (patch)
tree6dd40b7c0e01bd8ab75ca7622aee1e6cd277ede4 /shell
parent3cfebe44c7c7814e22362712b46f00b5636d0716 (diff)
downloadbusybox-bc1918a7a278195709387fc586dbbf5a56867364.zip
busybox-bc1918a7a278195709387fc586dbbf5a56867364.tar.gz
trivial fixes to make bbox compile with gcc 4.3.0
Diffstat (limited to 'shell')
-rw-r--r--shell/msh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c
index fd4a541..a96e799 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -588,7 +588,6 @@ static const struct builtincmd builtincmds[] = {
{ NULL , NULL },
};
-static struct op *scantree(struct op *);
static struct op *dowholefile(int /*, int*/);
@@ -1278,6 +1277,7 @@ static int newfile(char *s)
}
+#ifdef UNUSED
struct op *scantree(struct op *head)
{
struct op *dotnode;
@@ -1309,6 +1309,7 @@ struct op *scantree(struct op *head)
return NULL;
}
+#endif
static void onecommand(void)