Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Ansify and add missing include.
details: https://anonhg.NetBSD.org/src/rev/2d3f9eeec47d
branches: trunk
changeset: 552611:2d3f9eeec47d
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 28 10:16:41 2003 +0000
description:
Ansify and add missing include.
diffstat:
sys/arch/sparc64/sparc64/netbsd32_machdep.c | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diffs (50 lines):
diff -r 77eefeb364eb -r 2d3f9eeec47d sys/arch/sparc64/sparc64/netbsd32_machdep.c
--- a/sys/arch/sparc64/sparc64/netbsd32_machdep.c Sun Sep 28 09:16:46 2003 +0000
+++ b/sys/arch/sparc64/sparc64/netbsd32_machdep.c Sun Sep 28 10:16:41 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep.c,v 1.36 2003/09/26 18:10:01 christos Exp $ */
+/* $NetBSD: netbsd32_machdep.c,v 1.37 2003/09/28 10:16:41 martin Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.36 2003/09/26 18:10:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.37 2003/09/28 10:16:41 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -68,6 +68,7 @@
#include <compat/netbsd32/netbsd32.h>
#include <compat/netbsd32/netbsd32_ioctl.h>
#include <compat/netbsd32/netbsd32_syscallargs.h>
+#include <compat/netbsd32/netbsd32_exec.h>
#include <machine/frame.h>
#include <machine/reg.h>
@@ -92,10 +93,7 @@
*/
/* ARGSUSED */
void
-netbsd32_setregs(l, pack, stack)
- struct lwp *l;
- struct exec_package *pack;
- u_long stack; /* XXX */
+netbsd32_setregs(struct lwp *l, struct exec_package *pack, u_long stack)
{
struct proc *p = l->l_proc;
register struct trapframe64 *tf = l->l_md.md_tf;
@@ -165,10 +163,7 @@
#endif
void
-netbsd32_sendsig(sig, mask, code)
- int sig;
- const sigset_t *mask;
- u_long code;
+netbsd32_sendsig(int sig, const sigset_t *mask, u_long code)
{
register struct lwp *l = curlwp;
struct proc *p = l->l_proc;
Home |
Main Index |
Thread Index |
Old Index