aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signal.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-10-05 05:40:48 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-10-05 05:40:48 +0000
commit229aeecbbfa74310687c52deced8632ae867fb40 (patch)
treea1656037791ef79ca6da66bc68b85d0d42cf1914 /sys/sys/signal.h
parent0d29446006a8af3af9f196b0650eb8b7a87f395b (diff)
downloadsrc-229aeecbbfa74310687c52deced8632ae867fb40.tar.gz
src-229aeecbbfa74310687c52deced8632ae867fb40.zip
Change <sys/_sigset.h> to typedef __sigset_t instead of sigset_t, so
that headers that include it can conditionalize sigset_t's visibility.
Notes
Notes: svn path=/head/; revision=104504
Diffstat (limited to 'sys/sys/signal.h')
-rw-r--r--sys/sys/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/signal.h b/sys/sys/signal.h
index 909832650733..65f401f5e385 100644
--- a/sys/sys/signal.h
+++ b/sys/sys/signal.h
@@ -94,6 +94,12 @@
#define SIGUSR1 30 /* user defined signal 1 */
#define SIGUSR2 31 /* user defined signal 2 */
+/* XXX needs namespace conditional. */
+#ifndef _SIGSET_T_DECLARED
+#define _SIGSET_T_DECLARED
+typedef __sigset_t sigset_t;
+#endif
+
/*-
* Type of a signal handling function.
*