diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-22 19:35:08 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-22 19:35:08 +0000 |
commit | df31d32b411022d130b078de177cfa40b7bf6cde (patch) | |
tree | 0604126022fcad298f377155a756b42e28882177 /libc/signal | |
parent | d98307c5af70386c4480deff87c7c9921d801c7c (diff) |
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/sigandset.c | 1 | ||||
-rw-r--r-- | libc/signal/sighold.c | 1 | ||||
-rw-r--r-- | libc/signal/sigignore.c | 1 | ||||
-rw-r--r-- | libc/signal/sigisempty.c | 1 | ||||
-rw-r--r-- | libc/signal/sigorset.c | 1 | ||||
-rw-r--r-- | libc/signal/sigpause.c | 2 | ||||
-rw-r--r-- | libc/signal/sigrelse.c | 1 | ||||
-rw-r--r-- | libc/signal/sigset.c | 1 |
8 files changed, 2 insertions, 7 deletions
diff --git a/libc/signal/sigandset.c b/libc/signal/sigandset.c index 4e1abd969..a25225bad 100644 --- a/libc/signal/sigandset.c +++ b/libc/signal/sigandset.c @@ -17,7 +17,6 @@ 02111-1307 USA. */ #include <errno.h> -#define __USE_GNU #include <signal.h> #define __need_NULL #include <stddef.h> diff --git a/libc/signal/sighold.c b/libc/signal/sighold.c index d51ac1243..335af4a34 100644 --- a/libc/signal/sighold.c +++ b/libc/signal/sighold.c @@ -20,7 +20,6 @@ #define __need_NULL #include <stddef.h> -#define _GNU_SOURCE #include <signal.h> libc_hidden_proto(sigprocmask) diff --git a/libc/signal/sigignore.c b/libc/signal/sigignore.c index f44784b93..c4d347f8d 100644 --- a/libc/signal/sigignore.c +++ b/libc/signal/sigignore.c @@ -18,7 +18,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define _GNU_SOURCE #include <errno.h> #define __need_NULL #include <stddef.h> diff --git a/libc/signal/sigisempty.c b/libc/signal/sigisempty.c index 6d1de45a8..22baa0038 100644 --- a/libc/signal/sigisempty.c +++ b/libc/signal/sigisempty.c @@ -17,7 +17,6 @@ 02111-1307 USA. */ #include <errno.h> -#define __USE_GNU #include <signal.h> #define __need_NULL #include <stddef.h> diff --git a/libc/signal/sigorset.c b/libc/signal/sigorset.c index ffabf3704..7d7bf863d 100644 --- a/libc/signal/sigorset.c +++ b/libc/signal/sigorset.c @@ -17,7 +17,6 @@ 02111-1307 USA. */ #include <errno.h> -#define __USE_GNU #include <signal.h> #define __need_NULL #include <stddef.h> diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c index f7efa692e..2164c5076 100644 --- a/libc/signal/sigpause.c +++ b/libc/signal/sigpause.c @@ -18,6 +18,8 @@ 02111-1307 USA. */ #define __UCLIBC_HIDE_DEPRECATED__ +/* psm: need the BSD version of sigpause here */ +#undef _GNU_SOURCE #define _BSD_SOURCE #include <errno.h> #include <signal.h> diff --git a/libc/signal/sigrelse.c b/libc/signal/sigrelse.c index a0f55d419..a1d5a8849 100644 --- a/libc/signal/sigrelse.c +++ b/libc/signal/sigrelse.c @@ -20,7 +20,6 @@ #define __need_NULL #include <stddef.h> -#define _GNU_SOURCE #include <signal.h> libc_hidden_proto(sigprocmask) diff --git a/libc/signal/sigset.c b/libc/signal/sigset.c index d2a395bcf..5d8c0d0bd 100644 --- a/libc/signal/sigset.c +++ b/libc/signal/sigset.c @@ -19,7 +19,6 @@ #include <errno.h> #define __need_NULL #include <stddef.h> -#define __USE_XOPEN_EXTENDED #include <signal.h> #include <string.h> /* For the real memset prototype. */ |