From df31d32b411022d130b078de177cfa40b7bf6cde Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 22 Jan 2006 19:35:08 +0000 Subject: Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt --- libc/signal/sigandset.c | 1 - libc/signal/sighold.c | 1 - libc/signal/sigignore.c | 1 - libc/signal/sigisempty.c | 1 - libc/signal/sigorset.c | 1 - libc/signal/sigpause.c | 2 ++ libc/signal/sigrelse.c | 1 - libc/signal/sigset.c | 1 - 8 files changed, 2 insertions(+), 7 deletions(-) (limited to 'libc/signal') 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 -#define __USE_GNU #include #define __need_NULL #include 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 -#define _GNU_SOURCE #include 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 #define __need_NULL #include 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 -#define __USE_GNU #include #define __need_NULL #include 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 -#define __USE_GNU #include #define __need_NULL #include 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 #include 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 -#define _GNU_SOURCE #include 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 #define __need_NULL #include -#define __USE_XOPEN_EXTENDED #include #include /* For the real memset prototype. */ -- cgit v1.2.3