From: Mike Frysinger Date: Sun, 22 Mar 2009 22:48:41 +0000 (-0000) Subject: move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error X-Git-Tag: 1_14_0~195 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ddbee974b4263a7089f18bdd02d79cfa708a4a22;p=oweals%2Fbusybox.git move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error --- 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) return num; } +static int parse_stream(o_string *dest, struct parse_context *ctx, + struct in_str *input0, const char *end_trigger); + #if ENABLE_HUSH_TICK static FILE *generate_stream_from_list(struct pipe *head) { @@ -3407,9 +3410,6 @@ static FILE *generate_stream_from_list(struct pipe *head) /* 'head' is freed by the caller */ } -static int parse_stream(o_string *dest, struct parse_context *ctx, - struct in_str *input0, const char *end_trigger); - /* Return code is exit status of the process that is run. */ static int process_command_subs(o_string *dest, struct in_str *input,