summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger2009-03-22 22:48:41 +0000
committerMike Frysinger2009-03-22 22:48:41 +0000
commitddbee974b4263a7089f18bdd02d79cfa708a4a22 (patch)
tree8b2f37cf0a57f918ee6bae45baae3f82affb0d20
parent57abf9e947fa3f7d69f7adb97023b299916ee63c (diff)
downloadbusybox-ddbee974b4263a7089f18bdd02d79cfa708a4a22.zip
busybox-ddbee974b4263a7089f18bdd02d79cfa708a4a22.tar.gz
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 0e43b63..6e2ef5d 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,