summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include/signal.h')
-rw-r--r--sys/alpha/include/signal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/alpha/include/signal.h b/sys/alpha/include/signal.h
index 07eaba1..90a5a39 100644
--- a/sys/alpha/include/signal.h
+++ b/sys/alpha/include/signal.h
@@ -32,8 +32,8 @@
#define _ALPHA_SIGNAL_H_
typedef long sig_atomic_t;
-
#ifndef _ANSI_SOURCE
+
/*
* Information pushed on stack when a signal is delivered.
* This is used by the kernel to restore state following
@@ -44,7 +44,9 @@ typedef long sig_atomic_t;
* Note that sc_regs[] and sc_fpregs[]+sc_fpcr are inline
* representations of 'struct reg' and 'struct fpreg', respectively.
*/
-struct sigcontext {
+typedef unsigned int osigset_t;
+
+struct osigcontext {
long sc_onstack; /* sigstack state to restore */
long sc_mask; /* signal mask to restore */
long sc_pc; /* pc to restore */
OpenPOWER on IntegriCloud