summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-19 11:20:52 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2009-10-19 11:20:52 (GMT)
commit8bc7f2c5aad9506a6dcd862a2f57d88b5c001a3e (patch)
tree15f2fe688b0ce5a22516d7eca3646e77c2d92ce2
parentc0836530f1cee749f758217a4b60c19f03419481 (diff)
downloadbusybox-8bc7f2c5aad9506a6dcd862a2f57d88b5c001a3e.tar.gz
busybox-8bc7f2c5aad9506a6dcd862a2f57d88b5c001a3e.tar.bz2
hush: make it compile again :/
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 6ee1286..cbb0ce6 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -6174,8 +6174,8 @@ static struct pipe *parse_stream(char **pstring,
else {
/* It's "\<newline>". Remove trailing '\' from ctx.as_string */
ctx.as_string.data[--ctx.as_string.length] = '\0';
-#endif
}
+#endif
break;
case '$':
if (handle_dollar(&ctx.as_string, &dest, input) != 0) {
@@ -6915,14 +6915,14 @@ static int FAST_FUNC builtin_true(char **argv UNUSED_PARAM)
return 0;
}
-static int FAST_FUNC run_applet_main(char **argv, int (*applet_main)(int argc, char **argv))
+static int run_applet_main(char **argv, int (*applet_main_func)(int argc, char **argv))
{
int argc = 0;
while (*argv) {
argc++;
argv++;
}
- return applet_main(argc, argv - argc);
+ return applet_main_func(argc, argv - argc);
}
static int FAST_FUNC builtin_test(char **argv)