Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs. Test

compiled on most architectures.
This commit is contained in:
simonb 2003-09-26 12:02:55 +00:00
parent c2025ab0ea
commit 550b4bef88
29 changed files with 80 additions and 80 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.272 2003/08/02 19:10:04 matt Exp $ */
/* $NetBSD: machdep.c,v 1.273 2003/09/26 12:02:55 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@ -75,7 +75,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.272 2003/08/02 19:10:04 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.273 2003/09/26 12:02:55 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1512,7 +1512,7 @@ regdump(framep)
void
sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.6 2003/08/07 16:26:35 agc Exp $ */
/* $NetBSD: machdep.c,v 1.7 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.6 2003/08/07 16:26:35 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.7 2003/09/26 12:02:56 simonb Exp $");
#include "opt_user_ldt.h"
#include "opt_ddb.h"
@ -498,7 +498,7 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
void
sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sig_machdep.c,v 1.19 2003/09/13 14:31:34 chris Exp $ */
/* $NetBSD: sig_machdep.c,v 1.20 2003/09/26 12:02:56 simonb Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@ -45,7 +45,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.19 2003/09/13 14:31:34 chris Exp $");
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.20 2003/09/26 12:02:56 simonb Exp $");
#include <sys/mount.h> /* XXX only needed by syscallargs.h */
#include <sys/proc.h>
@ -83,7 +83,7 @@ process_frame(struct lwp *l)
* frame pointer, it returns to the user specified pc.
*/
void
sendsig(int sig, sigset_t *mask, u_long code)
sendsig(int sig, const sigset_t *mask, u_long code)
{
struct lwp *l = curlwp;
struct proc *p = l->l_proc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sig_machdep.c,v 1.5 2003/08/31 01:26:36 chs Exp $ */
/* $NetBSD: sig_machdep.c,v 1.6 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -111,7 +111,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.5 2003/08/31 01:26:36 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.6 2003/09/26 12:02:56 simonb Exp $");
#include "opt_compat_netbsd.h"
@ -146,7 +146,7 @@ int sigpid = 0;
void
sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sig_machdep.c,v 1.4 2003/01/17 23:36:18 thorpej Exp $ */
/* $NetBSD: sig_machdep.c,v 1.5 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@ -52,7 +52,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.4 2003/01/17 23:36:18 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.5 2003/09/26 12:02:56 simonb Exp $");
#include "opt_cputype.h"
#include "opt_compat_netbsd.h"
@ -85,7 +85,7 @@ int sigpid = 0;
* Send a signal to process.
*/
void
sendsig(int sig, sigset_t *returnmask, u_long code)
sendsig(int sig, const sigset_t *returnmask, u_long code)
{
struct lwp *l = curlwp;
struct proc *p = l->l_proc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.146 2003/08/07 16:29:02 agc Exp $ */
/* $NetBSD: machdep.c,v 1.147 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.146 2003/08/07 16:29:02 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.147 2003/09/26 12:02:56 simonb Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -361,7 +361,7 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
void
sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.1 2003/08/19 10:55:00 ragge Exp $ */
/* $NetBSD: machdep.c,v 1.2 2003/09/26 12:02:56 simonb Exp $ */
/*
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@ -199,7 +199,7 @@ sys___sigreturn14(struct lwp *p, void *v, register_t *retval)
}
void
sendsig(int sig, sigset_t *mask, u_long code)
sendsig(int sig, const sigset_t *mask, u_long code)
{
panic("sendsig");
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: sh3_machdep.c,v 1.51 2003/08/07 16:29:30 agc Exp $ */
/* $NetBSD: sh3_machdep.c,v 1.52 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.51 2003/08/07 16:29:30 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.52 2003/09/26 12:02:56 simonb Exp $");
#include "opt_kgdb.h"
#include "opt_memsize.h"
@ -416,7 +416,7 @@ cpu_upcall(struct lwp *l, int type, int nevents, int ninterrupted, void *sas,
* specified pc, psl.
*/
void
sendsig(int sig, sigset_t *mask, u_long code)
sendsig(int sig, const sigset_t *mask, u_long code)
{
struct lwp *l = curlwp;
struct proc *p = l->l_proc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sig_machdep.c,v 1.15 2003/07/15 03:36:00 lukem Exp $ */
/* $NetBSD: sig_machdep.c,v 1.16 2003/09/26 12:02:56 simonb Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.15 2003/07/15 03:36:00 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.16 2003/09/26 12:02:56 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -58,7 +58,7 @@ __KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.15 2003/07/15 03:36:00 lukem Exp $
* Send a signal to process
*/
void
sendsig(int sig, sigset_t *returnmask, u_long code)
sendsig(int sig, const sigset_t *returnmask, u_long code)
{
struct lwp *l = curlwp;
struct proc *p = l->l_proc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.232 2003/08/27 15:59:53 mrg Exp $ */
/* $NetBSD: machdep.c,v 1.233 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.232 2003/08/27 15:59:53 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.233 2003/09/26 12:02:56 simonb Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_sunos.h"
@ -530,7 +530,7 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
void
sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos_machdep.c,v 1.12 2003/07/15 00:05:09 lukem Exp $ */
/* $NetBSD: sunos_machdep.c,v 1.13 2003/09/26 12:02:56 simonb Exp $ */
/*
* Copyright (c) 1995 Matthew R. Green
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.12 2003/07/15 00:05:09 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.13 2003/09/26 12:02:56 simonb Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -71,7 +71,7 @@ struct sunos_sigframe {
void
sunos_sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_machdep.c,v 1.51 2003/08/10 15:14:02 martin Exp $ */
/* $NetBSD: svr4_machdep.c,v 1.52 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.51 2003/08/10 15:14:02 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.52 2003/09/26 12:02:56 simonb Exp $");
#if defined(_KERNEL_OPT)
#include "opt_kgdb.h"
@ -456,7 +456,7 @@ svr4_getsiginfo(si, sig, code, addr)
void
svr4_sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
register struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.147 2003/08/07 16:29:51 agc Exp $ */
/* $NetBSD: machdep.c,v 1.148 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.147 2003/08/07 16:29:51 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.148 2003/09/26 12:02:56 simonb Exp $");
#include "opt_compat_sunos.h"
#include "opt_compat_sunos.h"
@ -524,7 +524,7 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
void
sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos_machdep.c,v 1.18 2003/07/15 03:36:10 lukem Exp $ */
/* $NetBSD: sunos_machdep.c,v 1.19 2003/09/26 12:02:56 simonb Exp $ */
/*
* Copyright (c) 1995 Matthew R. Green
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.18 2003/07/15 03:36:10 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.19 2003/09/26 12:02:56 simonb Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@ -83,7 +83,7 @@ struct sunos_sigframe {
void
sunos_sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
register struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_machdep.c,v 1.32 2003/08/24 00:44:33 mrg Exp $ */
/* $NetBSD: svr4_machdep.c,v 1.33 2003/09/26 12:02:56 simonb Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.32 2003/08/24 00:44:33 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.33 2003/09/26 12:02:56 simonb Exp $");
#ifndef _LKM
#include "opt_ddb.h"
@ -504,7 +504,7 @@ svr4_getsiginfo(si, sig, code, addr)
void
svr4_sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
register struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ibcs2_machdep.h,v 1.5 2003/01/18 07:10:33 thorpej Exp $ */
/* $NetBSD: ibcs2_machdep.h,v 1.6 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -48,7 +48,7 @@ struct exec_package;
struct exec_vmcmd;
void ibcs2_setregs __P((struct lwp *, struct exec_package *, u_long));
void ibcs2_sendsig __P((int, sigset_t *, u_long));
void ibcs2_sendsig __P((int, const sigset_t *, u_long));
int ibcs2_sys_sysmachine __P((struct proc *, void *, register_t *));
#endif /* _KERNEL */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ibcs2_machdep.c,v 1.5 2003/07/15 02:15:03 lukem Exp $ */
/* $NetBSD: ibcs2_machdep.c,v 1.6 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ibcs2_machdep.c,v 1.5 2003/07/15 02:15:03 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: ibcs2_machdep.c,v 1.6 2003/09/26 12:02:57 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -79,7 +79,7 @@ ibcs2_setregs(l, epp, stack)
void
ibcs2_sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
sendsig(native_to_ibcs2_signo[sig], mask, code);

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.138 2003/08/07 16:30:20 agc Exp $ */
/* $NetBSD: machdep.c,v 1.139 2003/09/26 12:02:57 simonb Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@ -83,7 +83,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.138 2003/08/07 16:30:20 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.139 2003/09/26 12:02:57 simonb Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@ -510,7 +510,7 @@ struct otrampframe {
};
static void
oldsendsig(int sig, sigset_t *mask, u_long code)
oldsendsig(int sig, const sigset_t *mask, u_long code)
{
struct lwp *l = curlwp;
struct proc *p = l->l_proc;
@ -614,7 +614,7 @@ struct trampoline {
* The trampoline code will save r0-r5 before doing anything else.
*/
void
sendsig(int sig, sigset_t *mask, u_long code)
sendsig(int sig, const sigset_t *mask, u_long code)
{
struct lwp *l = curlwp;
struct proc *p = curproc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ibcs2_signal.h,v 1.14 2003/09/25 22:00:02 christos Exp $ */
/* $NetBSD: ibcs2_signal.h,v 1.15 2003/09/26 12:02:57 simonb Exp $ */
/*
* Copyright (c) 1994, 1995 Scott Bartram
@ -128,7 +128,7 @@ void native_to_ibcs2_sigset __P((const sigset_t *, ibcs2_sigset_t *));
#ifdef __HAVE_SIGINFO
void ibcs2_sendsig __P((const struct ksiginfo *, const sigset_t *));
#else
void ibcs2_sendsig __P((int, sigset_t *, u_long));
void ibcs2_sendsig __P((int, const sigset_t *, u_long));
#endif
#endif /* _IBCS2_SIGNAL_H */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.c,v 1.28 2003/06/29 22:29:23 fvdl Exp $ */
/* $NetBSD: linux_machdep.c,v 1.29 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.28 2003/06/29 22:29:23 fvdl Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.29 2003/09/26 12:02:57 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -222,7 +222,7 @@ void setup_linux_rt_sigframe(tf, sig, mask)
void setup_linux_sigframe(tf, sig, mask)
struct trapframe *tf;
int sig;
sigset_t *mask;
const sigset_t *mask;
{
struct lwp *l = curlwp;
struct proc *p = l->l_proc;
@ -320,7 +320,7 @@ void setup_linux_sigframe(tf, sig, mask)
void
linux_sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.h,v 1.7 2003/01/18 08:02:46 thorpej Exp $ */
/* $NetBSD: linux_machdep.h,v 1.8 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@ -98,7 +98,7 @@ struct linux_rt_sigframe {
#ifdef _KERNEL
__BEGIN_DECLS
void setup_linux_rt_sigframe __P((struct trapframe *, int, sigset_t *));
void setup_linux_sigframe __P((struct trapframe *, int, sigset_t *));
void setup_linux_sigframe __P((struct trapframe *, int, const sigset_t *));
int linux_restore_sigcontext __P((struct lwp *, struct linux_sigcontext,
sigset_t *));
void linux_syscall_intern __P((struct proc *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.c,v 1.11 2003/01/18 08:02:47 thorpej Exp $ */
/* $NetBSD: linux_machdep.c,v 1.12 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1995, 2000 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.11 2003/01/18 08:02:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.12 2003/09/26 12:02:57 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -96,7 +96,7 @@ process_frame(struct lwp *l)
void
linux_sendsig(sig, mask, code)
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.c,v 1.18 2003/08/02 19:51:23 jdolecek Exp $ */
/* $NetBSD: linux_machdep.c,v 1.19 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.18 2003/08/02 19:51:23 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.19 2003/09/26 12:02:57 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -123,7 +123,7 @@ linux_setregs(l, pack, stack)
void
linux_sendsig(sig, mask, code) /* XXX Check me */
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
{
struct lwp *l = curlwp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.c,v 1.24 2003/09/25 22:00:02 christos Exp $ */
/* $NetBSD: linux_machdep.c,v 1.25 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.24 2003/09/25 22:00:02 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.25 2003/09/26 12:02:57 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -123,7 +123,7 @@ linux_sendsig(const ksiginfo_t *ksi, const sigset_t *mask)
void
linux_sendsig(sig, mask, code) /* XXX Check me */
int sig;
sigset_t *mask;
const sigset_t *mask;
u_long code;
#endif
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.h,v 1.9 2003/09/25 22:00:02 christos Exp $ */
/* $NetBSD: linux_machdep.h,v 1.10 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -60,7 +60,7 @@ __BEGIN_DECLS
#ifdef __HAVE_SIGINFO
void linux_sendsig __P((const ksiginfo_t *, const sigset_t *));
#else
void linux_sendsig __P((int, sigset_t *, u_long));
void linux_sendsig __P((int, const sigset_t *, u_long));
#endif
dev_t linux_fakedev __P((dev_t, int));
__END_DECLS

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos.h,v 1.15 2003/09/22 14:34:58 cl Exp $ */
/* $NetBSD: sunos.h,v 1.16 2003/09/26 12:02:57 simonb Exp $ */
#ifndef _COMPAT_SUNOS_SUNOS_H_
#define _COMPAT_SUNOS_SUNOS_H_
@ -157,7 +157,7 @@ __BEGIN_DECLS
#ifdef __HAVE_SIGINFO
void sunos_sendsig __P((struct ksiginfo *, sigset_t *));
#else
void sunos_sendsig __P((int, sigset_t *, u_long));
void sunos_sendsig __P((int, const sigset_t *, u_long));
#endif
__END_DECLS

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_signal.h,v 1.26 2003/09/25 22:00:03 christos Exp $ */
/* $NetBSD: svr4_signal.h,v 1.27 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@ -142,7 +142,7 @@ void svr4_to_native_sigaltstack __P((const struct svr4_sigaltstack *, struct sig
#ifdef __HAVE_SIGINFO
void svr4_sendsig __P((const struct ksiginfo *, const sigset_t *));
#else
void svr4_sendsig __P((int, sigset_t *, u_long));
void svr4_sendsig __P((int, const sigset_t *, u_long));
#endif
/* sys_context() function codes */

View File

@ -1,4 +1,4 @@
/* $NetBSD: proc.h,v 1.172 2003/09/25 21:58:12 christos Exp $ */
/* $NetBSD: proc.h,v 1.173 2003/09/26 12:02:57 simonb Exp $ */
/*-
* Copyright (c) 1986, 1989, 1991, 1993
@ -106,7 +106,7 @@ struct emul {
void (*e_trapsignal) __P((struct lwp *,
const struct ksiginfo *));
#else
void (*e_sendsig) __P((int, sigset_t *, u_long));
void (*e_sendsig) __P((int, const sigset_t *, u_long));
void (*e_trapsignal) __P((struct lwp *, int, u_long));
#endif
char *e_sigcode; /* Start of sigcode */

View File

@ -1,4 +1,4 @@
/* $NetBSD: signalvar.h,v 1.45 2003/09/25 21:58:12 christos Exp $ */
/* $NetBSD: signalvar.h,v 1.46 2003/09/26 12:02:57 simonb Exp $ */
/*
* Copyright (c) 1991, 1993
@ -187,7 +187,7 @@ void kpsendsig __P((struct lwp *, const struct ksiginfo *,
#ifdef __HAVE_SIGINFO
void sendsig __P((const struct ksiginfo *, const sigset_t *));
#else
void sendsig __P((int, sigset_t *, u_long));
void sendsig __P((int, const sigset_t *, u_long));
#endif
struct core;
struct core32;