summaryrefslogtreecommitdiff
path: root/sys/compat/common/compat_exec.c
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2007-12-08 18:35:53 +0000
committerdsl <dsl@NetBSD.org>2007-12-08 18:35:53 +0000
commit28bae79b2713013fa5c98bdd7a8bdde85ccc3ffd (patch)
treee96dcadb2e523d907f659aa130436e909e7bfd97 /sys/compat/common/compat_exec.c
parentc26a54ba243a5ba3a847aeba86fe44f2e4a86203 (diff)
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Diffstat (limited to 'sys/compat/common/compat_exec.c')
-rw-r--r--sys/compat/common/compat_exec.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/compat/common/compat_exec.c b/sys/compat/common/compat_exec.c
index d4a3446db59..cb7dd082179 100644
--- a/sys/compat/common/compat_exec.c
+++ b/sys/compat/common/compat_exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_exec.c,v 1.14 2005/12/11 12:19:56 christos Exp $ */
+/* $NetBSD: compat_exec.c,v 1.15 2007/12/08 18:35:53 dsl Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_exec.c,v 1.14 2005/12/11 12:19:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_exec.c,v 1.15 2007/12/08 18:35:53 dsl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -50,9 +50,7 @@ __KERNEL_RCSID(0, "$NetBSD: compat_exec.c,v 1.14 2005/12/11 12:19:56 christos Ex
* There were copies of this in the mac68k, hp300, and i386 ports.
*/
int
-exec_aout_prep_oldzmagic(l, epp)
- struct lwp *l;
- struct exec_package *epp;
+exec_aout_prep_oldzmagic(struct lwp *l, struct exec_package *epp)
{
struct exec *execp = epp->ep_hdr;
int error;
@@ -98,9 +96,7 @@ exec_aout_prep_oldzmagic(l, epp)
* XXX: There must be a better way to share this code.
*/
int
-exec_aout_prep_oldnmagic(l, epp)
- struct lwp *l;
- struct exec_package *epp;
+exec_aout_prep_oldnmagic(struct lwp *l, struct exec_package *epp)
{
struct exec *execp = epp->ep_hdr;
long bsize, baddr;
@@ -142,9 +138,7 @@ exec_aout_prep_oldnmagic(l, epp)
* XXX: There must be a better way to share this code.
*/
int
-exec_aout_prep_oldomagic(l, epp)
- struct lwp *l;
- struct exec_package *epp;
+exec_aout_prep_oldomagic(struct lwp *l, struct exec_package *epp)
{
struct exec *execp = epp->ep_hdr;
long dsize, bsize, baddr;