diff --git a/lash.c b/lash.c index 11016a009..b7c5ec525 100644 --- a/lash.c +++ b/lash.c @@ -153,6 +153,7 @@ static int run_command_predicate(char *cmd); /* function prototypes for shell stuff */ static void mark_open(int fd); static void mark_closed(int fd); +static void close_all(void); static void checkjobs(struct jobset *job_list); static int get_command(FILE * source, char *command); static int parse_command(char **command_ptr, struct job *job, int *inbg); diff --git a/sh.c b/sh.c index 11016a009..b7c5ec525 100644 --- a/sh.c +++ b/sh.c @@ -153,6 +153,7 @@ static int run_command_predicate(char *cmd); /* function prototypes for shell stuff */ static void mark_open(int fd); static void mark_closed(int fd); +static void close_all(void); static void checkjobs(struct jobset *job_list); static int get_command(FILE * source, char *command); static int parse_command(char **command_ptr, struct job *job, int *inbg); diff --git a/shell/lash.c b/shell/lash.c index 11016a009..b7c5ec525 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -153,6 +153,7 @@ static int run_command_predicate(char *cmd); /* function prototypes for shell stuff */ static void mark_open(int fd); static void mark_closed(int fd); +static void close_all(void); static void checkjobs(struct jobset *job_list); static int get_command(FILE * source, char *command); static int parse_command(char **command_ptr, struct job *job, int *inbg);