mirror of
https://github.com/sheumann/hush.git
synced 2024-08-25 21:28:57 +00:00
move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error
This commit is contained in:
parent
57abf9e947
commit
ddbee974b4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user