aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-22 22:48:41 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-22 22:48:41 +0000
commitddbee974b4263a7089f18bdd02d79cfa708a4a22 (patch)
tree8b2f37cf0a57f918ee6bae45baae3f82affb0d20
parent57abf9e947fa3f7d69f7adb97023b299916ee63c (diff)
downloadbusybox-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.c6
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
3366static 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
3367static FILE *generate_stream_from_list(struct pipe *head) 3370static 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
3410static 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. */
3414static int process_command_subs(o_string *dest, 3414static int process_command_subs(o_string *dest,
3415 struct in_str *input, 3415 struct in_str *input,