ansify function definitionsdiff -r1.20 -r1.21 src/sys/compat/linux32/arch/amd64/linux32_machdep.c
(cegger)
--- src/sys/compat/linux32/arch/amd64/linux32_machdep.c 2008/10/19 09:44:31 1.20
+++ src/sys/compat/linux32/arch/amd64/linux32_machdep.c 2009/03/15 15:56:50 1.21
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_machdep.c,v 1.20 2008/10/19 09:44:31 njoly Exp $ */
+/* $NetBSD: linux32_machdep.c,v 1.21 2009/03/15 15:56:50 cegger Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -31,7 +31,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.20 2008/10/19 09:44:31 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.21 2009/03/15 15:56:50 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -355,11 +355,8 @@
}
static void
-linux32_save_sigcontext(l, tf, mask, sc)
- struct lwp *l;
- struct trapframe *tf;
- const sigset_t *mask;
- struct linux32_sigcontext *sc;
+linux32_save_sigcontext(struct lwp *l, struct trapframe *tf,
+ const sigset_t *mask, struct linux32_sigcontext *sc)
{
/* Save register context. */
sc->sc_gs = tf->tf_gs;
@@ -422,10 +419,8 @@
}
static int
-linux32_restore_sigcontext(l, scp, retval)
- struct lwp *l;
- struct linux32_sigcontext *scp;
- register_t *retval;
+linux32_restore_sigcontext(struct lwp *l, struct linux32_sigcontext *scp,
+ register_t *retval)
{
struct trapframe *tf;
struct proc *p = l->l_proc;
--- src/sys/compat/linux32/common/linux32_exec_elf32.c 2008/04/28 20:23:44 1.8
+++ src/sys/compat/linux32/common/linux32_exec_elf32.c 2009/03/15 15:56:50 1.9
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_exec_elf32.c,v 1.8 2008/04/28 20:23:44 martin Exp $ */
+/* $NetBSD: linux32_exec_elf32.c,v 1.9 2009/03/15 15:56:50 cegger Exp $ */
/*-
* Copyright (c) 1995, 1998, 2000, 2001,2006 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_exec_elf32.c,v 1.8 2008/04/28 20:23:44 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_exec_elf32.c,v 1.9 2009/03/15 15:56:50 cegger Exp $");
#define ELFSIZE 32
@@ -65,12 +65,8 @@
void *, size_t, const void *, const void *);
int
-ELFNAME2(linux32,probe)(l, epp, eh, itp, pos)
- struct lwp *l;
- struct exec_package *epp;
- void *eh;
- char *itp;
- vaddr_t *pos;
+ELFNAME2(linux32,probe)(struct lwp *l, struct exec_package *epp,
+ void *eh, char *itp, vaddr_t *pos)
{
int error;
--- src/sys/compat/linux32/common/linux32_unistd.c 2009/01/16 13:10:47 1.30
+++ src/sys/compat/linux32/common/linux32_unistd.c 2009/03/15 15:56:50 1.31
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_unistd.c,v 1.30 2009/01/16 13:10:47 njoly Exp $ */
+/* $NetBSD: linux32_unistd.c,v 1.31 2009/03/15 15:56:50 cegger Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_unistd.c,v 1.30 2009/01/16 13:10:47 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_unistd.c,v 1.31 2009/03/15 15:56:50 cegger Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -143,12 +143,9 @@
}
static int
-linux32_select1(l, retval, nfds, readfds, writefds, exceptfds, timeout)
- struct lwp *l;
- register_t *retval;
- int nfds;
- fd_set *readfds, *writefds, *exceptfds;
- struct timeval *timeout;
+linux32_select1(struct lwp *l, register_t *retval, int nfds,
+ fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
+ struct timeval *timeout)
{
struct timeval tv0, tv1, utv, *tv = NULL;
struct netbsd32_timeval50 utv32;