aboutsummaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-08 21:31:12 +0000
committerRoland McGrath <roland@gnu.org>1995-11-08 21:31:12 +0000
commit7606603541c29d406a9e0ac7fbf55adb09d0bf07 (patch)
tree7d172f36b9a2e9908274c5c5fce26912e0eaba20 /signal
parentf535a036af4f875145e9f83f2b2e801d290741ad (diff)
downloadglibc-7606603541c29d406a9e0ac7fbf55adb09d0bf07.zip
glibc-7606603541c29d406a9e0ac7fbf55adb09d0bf07.tar.gz
glibc-7606603541c29d406a9e0ac7fbf55adb09d0bf07.tar.bz2
[__USE_BSD] (sig_t): New typedef.
Diffstat (limited to 'signal')
-rw-r--r--signal/signal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/signal/signal.h b/signal/signal.h
index 9d6c54b..9b5ce17 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -111,6 +111,11 @@ extern int sigpause __P ((int __mask));
typedef __sighandler_t sighandler_t;
#endif
+/* 4.4 BSD uses the name `sig_t' for this. */
+#ifdef __USE_BSD
+typedef __sighandler_t sig_t;
+#endif
+
#endif /* <signal.h> included. */