From ddbee974b4263a7089f18bdd02d79cfa708a4a22 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 22 Mar 2009 22:48:41 +0000 Subject: move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error --- shell/hush.c | 6 +++--- 1 file 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) 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, -- cgit v1.2.3