make this compile again.

This commit is contained in:
chs 2005-09-27 14:37:06 +00:00
parent c247bb3437
commit 94be8205d7
3 changed files with 8 additions and 6 deletions

View File

@ -1,10 +1,11 @@
/* $NetBSD: netbsd32_machdep.h,v 1.6 2005/09/14 16:19:27 chs Exp $ */
/* $NetBSD: netbsd32_machdep.h,v 1.7 2005/09/27 14:37:06 chs Exp $ */
#ifndef _MACHINE_NETBSD32_H_
#define _MACHINE_NETBSD32_H_
#include <sys/ucontext.h>
#include <compat/sys/ucontext.h>
#include <compat/sys/siginfo.h>
typedef u_int32_t netbsd32_pointer_t;
#define NETBSD32PTR64(p32) ((void *)(u_long)(u_int)(p32))

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32.h,v 1.41 2005/09/24 21:34:18 christos Exp $ */
/* $NetBSD: netbsd32.h,v 1.42 2005/09/27 14:37:06 chs Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@ -637,6 +637,8 @@ void netbsd32_from_stat43 __P((struct stat43 *, struct netbsd32_stat43 *));
vaddr_t netbsd32_vm_default_addr(struct proc *, vaddr_t, vsize_t);
void netbsd32_adjust_limits(struct proc *);
void netbsd32_si_to_si32(siginfo32_t *, const siginfo_t *);
#ifdef SYSCTL_SETUP_PROTO
SYSCTL_SETUP_PROTO(netbsd32_sysctl_emul_setup);
#endif /* SYSCTL_SETUP_PROTO */

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_signal.c,v 1.14 2005/09/24 21:34:18 christos Exp $ */
/* $NetBSD: netbsd32_signal.c,v 1.15 2005/09/27 14:37:06 chs Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_signal.c,v 1.14 2005/09/24 21:34:18 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_signal.c,v 1.15 2005/09/27 14:37:06 chs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -53,7 +53,6 @@ __KERNEL_RCSID(0, "$NetBSD: netbsd32_signal.c,v 1.14 2005/09/24 21:34:18 christo
#include <compat/sys/siginfo.h>
#include <compat/sys/ucontext.h>
static void netbsd32_si_to_si32(siginfo32_t *, const siginfo_t *);
#ifdef unused
static void netbsd32_si32_to_si(siginfo_t *, const siginfo32_t *);
#endif
@ -273,7 +272,7 @@ netbsd32_si32_to_si(siginfo_t *si, const siginfo32_t *si32)
}
#endif
static void
void
netbsd32_si_to_si32(siginfo32_t *si32, const siginfo_t *si)
{
memset(si32, 0, sizeof (*si32));