aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-31 10:41:31 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-31 10:41:31 +0000
commitdcac6af416f3768bfd14b17e5d34bc70ae8029bb (patch)
tree0080fd0c339ed1943275d4e2df23612ee50e0c37 /shell
parent64dfafd384df3a24e7b7d814366d665f024e6b02 (diff)
downloadbusybox-w32-dcac6af416f3768bfd14b17e5d34bc70ae8029bb.tar.gz
busybox-w32-dcac6af416f3768bfd14b17e5d34bc70ae8029bb.tar.bz2
busybox-w32-dcac6af416f3768bfd14b17e5d34bc70ae8029bb.zip
Fixup some silly prototype warnings
git-svn-id: svn://busybox.net/trunk/busybox@3614 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 195013869..27afd3e7c 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -349,7 +349,7 @@ static void setup_string_in_str(struct in_str *i, const char *s);
349/* close_me manipulations: */ 349/* close_me manipulations: */
350static void mark_open(int fd); 350static void mark_open(int fd);
351static void mark_closed(int fd); 351static void mark_closed(int fd);
352static void close_all(); 352static void close_all(void);
353/* "run" the final data structures: */ 353/* "run" the final data structures: */
354static char *indenter(int i); 354static char *indenter(int i);
355static int free_pipe_list(struct pipe *head, int indent); 355static int free_pipe_list(struct pipe *head, int indent);
@@ -975,7 +975,7 @@ static void mark_closed(int fd)
975 free(tmp); 975 free(tmp);
976} 976}
977 977
978static void close_all() 978static void close_all(void)
979{ 979{
980 struct close_me *c; 980 struct close_me *c;
981 for (c=close_me_head; c; c=c->next) { 981 for (c=close_me_head; c; c=c->next) {
@@ -2547,7 +2547,7 @@ static int parse_file_outer(FILE *f)
2547/* Make sure we have a controlling tty. If we get started under a job 2547/* Make sure we have a controlling tty. If we get started under a job
2548 * aware app (like bash for example), make sure we are now in charge so 2548 * aware app (like bash for example), make sure we are now in charge so
2549 * we don't fight over who gets the foreground */ 2549 * we don't fight over who gets the foreground */
2550static void setup_job_control() 2550static void setup_job_control(void)
2551{ 2551{
2552 static pid_t shell_pgrp; 2552 static pid_t shell_pgrp;
2553 /* Loop until we are in the foreground. */ 2553 /* Loop until we are in the foreground. */