diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-19 13:20:52 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-19 13:20:52 +0200 |
commit | 8bc7f2c5aad9506a6dcd862a2f57d88b5c001a3e (patch) | |
tree | 15f2fe688b0ce5a22516d7eca3646e77c2d92ce2 | |
parent | c0836530f1cee749f758217a4b60c19f03419481 (diff) | |
download | busybox-w32-8bc7f2c5aad9506a6dcd862a2f57d88b5c001a3e.tar.gz busybox-w32-8bc7f2c5aad9506a6dcd862a2f57d88b5c001a3e.tar.bz2 busybox-w32-8bc7f2c5aad9506a6dcd862a2f57d88b5c001a3e.zip |
hush: make it compile again :/
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/hush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c index 6ee128641..cbb0ce69c 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -6174,8 +6174,8 @@ static struct pipe *parse_stream(char **pstring, | |||
6174 | else { | 6174 | else { |
6175 | /* It's "\<newline>". Remove trailing '\' from ctx.as_string */ | 6175 | /* It's "\<newline>". Remove trailing '\' from ctx.as_string */ |
6176 | ctx.as_string.data[--ctx.as_string.length] = '\0'; | 6176 | ctx.as_string.data[--ctx.as_string.length] = '\0'; |
6177 | #endif | ||
6178 | } | 6177 | } |
6178 | #endif | ||
6179 | break; | 6179 | break; |
6180 | case '$': | 6180 | case '$': |
6181 | if (handle_dollar(&ctx.as_string, &dest, input) != 0) { | 6181 | if (handle_dollar(&ctx.as_string, &dest, input) != 0) { |
@@ -6915,14 +6915,14 @@ static int FAST_FUNC builtin_true(char **argv UNUSED_PARAM) | |||
6915 | return 0; | 6915 | return 0; |
6916 | } | 6916 | } |
6917 | 6917 | ||
6918 | static int FAST_FUNC run_applet_main(char **argv, int (*applet_main)(int argc, char **argv)) | 6918 | static int run_applet_main(char **argv, int (*applet_main_func)(int argc, char **argv)) |
6919 | { | 6919 | { |
6920 | int argc = 0; | 6920 | int argc = 0; |
6921 | while (*argv) { | 6921 | while (*argv) { |
6922 | argc++; | 6922 | argc++; |
6923 | argv++; | 6923 | argv++; |
6924 | } | 6924 | } |
6925 | return applet_main(argc, argv - argc); | 6925 | return applet_main_func(argc, argv - argc); |
6926 | } | 6926 | } |
6927 | 6927 | ||
6928 | static int FAST_FUNC builtin_test(char **argv) | 6928 | static int FAST_FUNC builtin_test(char **argv) |