summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_exec.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
committermillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
commitc4071fd13883b3f74b90a411bbb39755a785aeaa (patch)
tree241e7c760222fac909b512d36156c6db1b610256 /sys/compat/linux/linux_exec.c
parentcompare pointers with NULL not 0 (diff)
downloadwireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.tar.xz
wireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.zip
First round of __P removal in sys
Diffstat (limited to 'sys/compat/linux/linux_exec.c')
-rw-r--r--sys/compat/linux/linux_exec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c
index c05e8e0999e..457f4294e12 100644
--- a/sys/compat/linux/linux_exec.c
+++ b/sys/compat/linux/linux_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_exec.c,v 1.19 2001/11/15 06:22:30 art Exp $ */
+/* $OpenBSD: linux_exec.c,v 1.20 2002/03/14 01:26:50 millert Exp $ */
/* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */
/*
@@ -59,8 +59,8 @@
#include <compat/linux/linux_util.h>
#include <compat/linux/linux_exec.h>
-static void *linux_aout_copyargs __P((struct exec_package *,
- struct ps_strings *, void *, void *));
+static void *linux_aout_copyargs(struct exec_package *,
+ struct ps_strings *, void *, void *);
#define LINUX_AOUT_AUX_ARGSIZ 2
#define LINUX_ELF_AUX_ARGSIZ (sizeof(AuxInfo) * 8 / sizeof(char *))
@@ -74,10 +74,10 @@ extern struct sysent linux_sysent[];
extern char *linux_syscallnames[];
#endif
-int exec_linux_aout_prep_zmagic __P((struct proc *, struct exec_package *));
-int exec_linux_aout_prep_nmagic __P((struct proc *, struct exec_package *));
-int exec_linux_aout_prep_omagic __P((struct proc *, struct exec_package *));
-int exec_linux_aout_prep_qmagic __P((struct proc *, struct exec_package *));
+int exec_linux_aout_prep_zmagic(struct proc *, struct exec_package *);
+int exec_linux_aout_prep_nmagic(struct proc *, struct exec_package *);
+int exec_linux_aout_prep_omagic(struct proc *, struct exec_package *);
+int exec_linux_aout_prep_qmagic(struct proc *, struct exec_package *);
struct emul emul_linux_aout = {
"linux",