diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ksh/edit.c | 3 | ||||
-rw-r--r-- | bin/ksh/eval.c | 3 | ||||
-rw-r--r-- | bin/ksh/jobs.c | 3 | ||||
-rw-r--r-- | bin/ksh/trap.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index 4cd5f7cacf6..9e721abcaa1 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.26 2004/12/22 17:14:34 millert Exp $ */ +/* $OpenBSD: edit.c,v 1.27 2005/02/25 11:21:16 deraadt Exp $ */ /* * Command line editing - common code @@ -48,6 +48,7 @@ x_init(void) #endif /* EMACS */ } +/* ARGSUSED */ static void x_sigwinch(int sig) { diff --git a/bin/ksh/eval.c b/bin/ksh/eval.c index 3b560d060c5..48466f17c62 100644 --- a/bin/ksh/eval.c +++ b/bin/ksh/eval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eval.c,v 1.25 2005/02/02 07:53:01 otto Exp $ */ +/* $OpenBSD: eval.c,v 1.26 2005/02/25 11:21:16 deraadt Exp $ */ /* * Expansion - quoting, separation, substitution, globbing @@ -712,6 +712,7 @@ varsub(Expand *xp, char *sp, char *word, if ((p=strchr(sp,'[')) && (p[1]=='*'||p[1]=='@') && p[2]==']') { int n = 0; int max = 0; + vp = global(arrayname(sp)); if (vp->flag & (ISSET|ARRAY)) zero_ok = 1; diff --git a/bin/ksh/jobs.c b/bin/ksh/jobs.c index 9731db3fe93..4f8b6dd4a2c 100644 --- a/bin/ksh/jobs.c +++ b/bin/ksh/jobs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jobs.c,v 1.31 2004/12/30 21:34:24 otto Exp $ */ +/* $OpenBSD: jobs.c,v 1.32 2005/02/25 11:21:16 deraadt Exp $ */ /* * Process and job control @@ -1073,6 +1073,7 @@ j_waitj(Job *j, * * If jobs are compiled in then this routine expects sigchld to be blocked. */ +/* ARGSUSED */ static void j_sigchld(int sig) { diff --git a/bin/ksh/trap.c b/bin/ksh/trap.c index 57a62e19309..2e8bac87b56 100644 --- a/bin/ksh/trap.c +++ b/bin/ksh/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.20 2004/12/28 21:11:22 jsg Exp $ */ +/* $OpenBSD: trap.c,v 1.21 2005/02/25 11:21:16 deraadt Exp $ */ /* * signal handling @@ -57,6 +57,7 @@ alarm_init(void) SS_RESTORE_ORIG|SS_FORCE|SS_SHTRAP); } +/* ARGSUSED */ static void alarm_catcher(int sig) { |