Fix types. Kill old declarations.
This commit is contained in:
parent
c7176f00e4
commit
baf6c8420d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: linux_signal.c,v 1.17 1998/10/07 22:12:48 erh Exp $ */
|
||||
/* $NetBSD: linux_signal.c,v 1.18 1998/10/07 22:45:51 erh Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -325,14 +325,8 @@ linux_sigprocmask1(p, how, set, oset)
|
|||
const linux_old_sigset_t *set;
|
||||
linux_old_sigset_t *oset;
|
||||
{
|
||||
struct linux_sys_sigprocmask_args /* {
|
||||
syscallarg(int) how;
|
||||
syscallarg(const linux_old_sigset_t *) set;
|
||||
syscallarg(linux_old_sigset_t *) oset;
|
||||
} */ *uap = v;
|
||||
linux_old_sigset_t nlss, olss;
|
||||
sigset_t nbss, obss;
|
||||
int how;
|
||||
int error;
|
||||
|
||||
switch (how) {
|
||||
|
@ -391,8 +385,8 @@ linux_sys_rt_sigprocmask(p, v, retval)
|
|||
}
|
||||
|
||||
return(linux_sigprocmask1(p, SCARG(uap, how),
|
||||
(linux_old_sigset_t)SCARG(uap, set),
|
||||
(linux_old_sigset_t)SCARG(uap, oset));
|
||||
(const linux_old_sigset_t *)SCARG(uap, set),
|
||||
(linux_old_sigset_t *)SCARG(uap, oset));
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: linux_signal.h,v 1.9 1998/10/07 22:13:39 erh Exp $ */
|
||||
/* $NetBSD: linux_signal.h,v 1.10 1998/10/07 22:45:51 erh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -51,7 +51,7 @@
|
|||
extern int native_to_linux_sig[];
|
||||
extern int linux_to_native_sig[];
|
||||
__BEGIN_DECLS
|
||||
int linux_sigprocmask1 __P((struct proc *, int, linux_old_sigset_t *,
|
||||
int linux_sigprocmask1 __P((struct proc *, int, const linux_old_sigset_t *,
|
||||
linux_old_sigset_t *));
|
||||
void linux_old_to_native_sigset __P((const linux_old_sigset_t *, sigset_t *));
|
||||
void native_to_linux_old_sigset __P((const sigset_t *, linux_old_sigset_t *));
|
||||
|
|
Loading…
Reference in New Issue