summaryrefslogtreecommitdiff
path: root/bin/ksh/exec.c
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2017-07-01 23:12:08 +0000
committerjoerg <joerg@NetBSD.org>2017-07-01 23:12:08 +0000
commit59ca394562c5760973171f0d1bf7df6097072a56 (patch)
tree2be1076f28748521d2c43d574b8840e83237b1d1 /bin/ksh/exec.c
parentfe47da3ca71b1af997d0e42ee27d3ac599f6f922 (diff)
Kill enough K&R cruft to build with clang again.
Diffstat (limited to 'bin/ksh/exec.c')
-rw-r--r--bin/ksh/exec.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/ksh/exec.c b/bin/ksh/exec.c
index 31ef8dcd856..3d97c3e9216 100644
--- a/bin/ksh/exec.c
+++ b/bin/ksh/exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.23 2017/06/30 04:41:19 kamil Exp $ */
+/* $NetBSD: exec.c,v 1.24 2017/07/01 23:12:08 joerg Exp $ */
/*
* execute command tree
@@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: exec.c,v 1.23 2017/06/30 04:41:19 kamil Exp $");
+__RCSID("$NetBSD: exec.c,v 1.24 2017/07/01 23:12:08 joerg Exp $");
#endif
#include <sys/stat.h>
@@ -30,7 +30,7 @@ static int call_builtin ARGS((struct tbl *, char **));
static int iosetup ARGS((struct ioword *, struct tbl *));
static int herein ARGS((const char *, int));
#ifdef KSH
-static char *do_selectargs ARGS((char **, bool));
+static char *do_selectargs(char **, bool);
#endif /* KSH */
#ifdef KSH
static int dbteste_isa ARGS((Test_env *, Test_meta));
@@ -1322,9 +1322,7 @@ herein(content, sub)
* print the args in column form - assuming that we can
*/
static char *
-do_selectargs(ap, print_menu)
- register char **ap;
- bool print_menu;
+do_selectargs(char **ap, bool print_menu)
{
static const char *const read_args[] = {
"read", "-r", "REPLY", (char *) 0