blob: 75d7329e9674674613af23a08945a2781e68dbc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Index: libc/usr/src/head/signal.h
===================================================================
--- libc.orig/usr/src/head/signal.h 2012-10-08 04:25:37.000000000 +0400
+++ libc/usr/src/head/signal.h 2013-06-04 22:18:27.492649894 +0400
@@ -33,7 +33,7 @@
#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5.3.4 */
-#include <sys/feature_tests.h>
+#include <features.h>
#if defined(__EXTENSIONS__) || !defined(_STRICT_STDC) || \
defined(__XOPEN_OR_POSIX)
@@ -57,6 +57,13 @@
extern "C" {
#endif
+typedef void (*__sighandler_t)(int);
+#ifdef _GNU_SOURCE
+typedef __sighandler_t sighandler_t;
+#endif
+#ifdef __EXTENSIONS__
+typedef __sighandler_t sig_t;
+#endif
#if defined(__STDC__)
|