[__USE_BSD] (sig_t): New typedef.
authorRoland McGrath <roland@gnu.org>
Wed, 8 Nov 1995 21:31:12 +0000 (21:31 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 8 Nov 1995 21:31:12 +0000 (21:31 +0000)
signal/signal.h

index 9d6c54b..9b5ce17 100644 (file)
@@ -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.  */