diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-22 22:48:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-22 22:48:41 +0000 |
commit | ddbee974b4263a7089f18bdd02d79cfa708a4a22 (patch) | |
tree | 8b2f37cf0a57f918ee6bae45baae3f82affb0d20 | |
parent | 57abf9e947fa3f7d69f7adb97023b299916ee63c (diff) | |
download | busybox-w32-ddbee974b4263a7089f18bdd02d79cfa708a4a22.tar.gz busybox-w32-ddbee974b4263a7089f18bdd02d79cfa708a4a22.tar.bz2 busybox-w32-ddbee974b4263a7089f18bdd02d79cfa708a4a22.zip |
move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error
-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 0e43b63e7..6e2ef5df6 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -3363,6 +3363,9 @@ static int redirect_opt_num(o_string *o) | |||
3363 | return num; | 3363 | return num; |
3364 | } | 3364 | } |
3365 | 3365 | ||
3366 | static int parse_stream(o_string *dest, struct parse_context *ctx, | ||
3367 | struct in_str *input0, const char *end_trigger); | ||
3368 | |||
3366 | #if ENABLE_HUSH_TICK | 3369 | #if ENABLE_HUSH_TICK |
3367 | static FILE *generate_stream_from_list(struct pipe *head) | 3370 | static FILE *generate_stream_from_list(struct pipe *head) |
3368 | { | 3371 | { |
@@ -3407,9 +3410,6 @@ static FILE *generate_stream_from_list(struct pipe *head) | |||
3407 | /* 'head' is freed by the caller */ | 3410 | /* 'head' is freed by the caller */ |
3408 | } | 3411 | } |
3409 | 3412 | ||
3410 | static int parse_stream(o_string *dest, struct parse_context *ctx, | ||
3411 | struct in_str *input0, const char *end_trigger); | ||
3412 | |||
3413 | /* Return code is exit status of the process that is run. */ | 3413 | /* Return code is exit status of the process that is run. */ |
3414 | static int process_command_subs(o_string *dest, | 3414 | static int process_command_subs(o_string *dest, |
3415 | struct in_str *input, | 3415 | struct in_str *input, |