From bc1918a7a278195709387fc586dbbf5a56867364 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 15 Apr 2008 01:17:50 +0000 Subject: trivial fixes to make bbox compile with gcc 4.3.0 --- shell/msh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell') 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[] = { { 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) -- cgit v1.2.3