Make this compile again.
This commit is contained in:
parent
15c4637507
commit
39a278be7e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: compat_16_machdep.c,v 1.8 2007/12/20 23:02:39 dsl Exp $ */
|
||||
/* $NetBSD: compat_16_machdep.c,v 1.9 2007/12/21 02:27:57 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994-1998 Mark Brinicombe.
|
||||
|
@ -45,7 +45,7 @@
|
|||
|
||||
#include <sys/param.h>
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.8 2007/12/20 23:02:39 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.9 2007/12/21 02:27:57 matt Exp $");
|
||||
|
||||
#include <sys/mount.h> /* XXX only needed by syscallargs.h */
|
||||
#include <sys/proc.h>
|
||||
|
@ -221,7 +221,7 @@ compat_16_sys___sigreturn14(struct lwp *l, const struct compat_16_sys___sigretur
|
|||
/*
|
||||
* we do a rather scary test in userland
|
||||
*/
|
||||
if (v == NULL)
|
||||
if (uap == NULL)
|
||||
return (EFAULT);
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: linux_machdep.c,v 1.24 2007/12/20 23:02:52 dsl Exp $ */
|
||||
/* $NetBSD: linux_machdep.c,v 1.25 2007/12/21 02:28:35 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.24 2007/12/20 23:02:52 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.25 2007/12/21 02:28:35 matt Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -200,7 +200,8 @@ linux_sys_rt_sigreturn(struct proc *p, void *v, register_t *retval)
|
|||
#endif
|
||||
|
||||
int
|
||||
linux_sys_sigreturn(struct lwp *l, const void *v, register_t *retval)
|
||||
linux_sys_sigreturn(struct lwp *l, const struct linux_sys_sigreturn_args *v,
|
||||
register_t *retval)
|
||||
{
|
||||
struct linux_sigframe *sfp, frame;
|
||||
struct proc *p = l->l_proc;
|
||||
|
|
Loading…
Reference in New Issue