Wed Nov 29 17:49:04 2017 UTC ()
include <sys/sigtypes.h> for sigset_t


(christos)
diff -r1.22 -r1.23 src/sys/arch/sparc/include/signal.h

cvs diff -r1.22 -r1.23 src/sys/arch/sparc/include/signal.h (expand / switch to unified diff)

--- src/sys/arch/sparc/include/signal.h 2008/11/19 18:36:00 1.22
+++ src/sys/arch/sparc/include/signal.h 2017/11/29 17:49:03 1.23
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: signal.h,v 1.22 2008/11/19 18:36:00 ad Exp $ */ 1/* $NetBSD: signal.h,v 1.23 2017/11/29 17:49:03 christos Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1992, 1993 4 * Copyright (c) 1992, 1993
5 * The Regents of the University of California. All rights reserved. 5 * The Regents of the University of California. All rights reserved.
6 * 6 *
7 * This software was developed by the Computer Systems Engineering group 7 * This software was developed by the Computer Systems Engineering group
8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 8 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
9 * contributed to Berkeley. 9 * contributed to Berkeley.
10 * 10 *
11 * All advertising materials mentioning features or use of this software 11 * All advertising materials mentioning features or use of this software
12 * must display the following acknowledgement: 12 * must display the following acknowledgement:
13 * This product includes software developed by the University of 13 * This product includes software developed by the University of
14 * California, Lawrence Berkeley Laboratory. 14 * California, Lawrence Berkeley Laboratory.
@@ -41,27 +41,27 @@ @@ -41,27 +41,27 @@
41 */ 41 */
42 42
43#ifndef _SPARC_SIGNAL_H_ 43#ifndef _SPARC_SIGNAL_H_
44#define _SPARC_SIGNAL_H_ 44#define _SPARC_SIGNAL_H_
45 45
46#include <sys/featuretest.h> 46#include <sys/featuretest.h>
47 47
48#ifndef _LOCORE 48#ifndef _LOCORE
49typedef int sig_atomic_t; 49typedef int sig_atomic_t;
50#endif 50#endif
51 51
52#if defined(_NETBSD_SOURCE) 52#if defined(_NETBSD_SOURCE)
53#ifndef _LOCORE 53#ifndef _LOCORE
54 54#include <sys/sigtypes.h>
55/* 55/*
56 * Information pushed on stack when a signal is delivered. 56 * Information pushed on stack when a signal is delivered.
57 * This is used by the kernel to restore state following 57 * This is used by the kernel to restore state following
58 * execution of the signal handler. It is also made available 58 * execution of the signal handler. It is also made available
59 * to the handler to allow it to restore state properly if 59 * to the handler to allow it to restore state properly if
60 * a non-standard exit is performed. 60 * a non-standard exit is performed.
61 * 61 *
62 * All machines must have an sc_onstack and sc_mask. 62 * All machines must have an sc_onstack and sc_mask.
63 */ 63 */
64#if defined(__LIBC12_SOURCE__) || defined(_KERNEL) 64#if defined(__LIBC12_SOURCE__) || defined(_KERNEL)
65struct sigcontext13 { 65struct sigcontext13 {
66 int sc_onstack; /* sigstack state to restore */ 66 int sc_onstack; /* sigstack state to restore */
67 int sc_mask; /* signal mask to restore (old style) */ 67 int sc_mask; /* signal mask to restore (old style) */