summaryrefslogtreecommitdiff
path: root/sys/i386/include/signal.h
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2002-02-17 17:40:34 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2002-02-17 17:40:34 +0000
commit0270d57aef325fb8d49f29133fa43fee1742240c (patch)
treece2496353fd641843d92285dae19123ceeb99292 /sys/i386/include/signal.h
parentefec00ac60f975859053df788c28daa2eb282124 (diff)
Notes
Diffstat (limited to 'sys/i386/include/signal.h')
-rw-r--r--sys/i386/include/signal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/include/signal.h b/sys/i386/include/signal.h
index 74accc8d0efd..603a14f70fee 100644
--- a/sys/i386/include/signal.h
+++ b/sys/i386/include/signal.h
@@ -54,6 +54,10 @@ typedef int sig_atomic_t;
#include <machine/trap.h> /* codes for SIGILL, SIGFPE */
/*
+ * Only the kernel should need these old type definitions.
+ */
+#ifdef _KERNEL
+/*
* Information pushed on stack when a signal is delivered.
* This is used by the kernel to restore state following
* execution of the signal handler. It is also made available
@@ -85,6 +89,7 @@ struct osigcontext {
int sc_trapno;
int sc_err;
};
+#endif
/*
* The sequence of the fields/registers in struct sigcontext should match