summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/join.c1
-rw-r--r--libpthread/linuxthreads.old/libc_pthread_init.c1
-rw-r--r--libpthread/linuxthreads.old/locale.c1
-rw-r--r--libpthread/linuxthreads.old/manager.c1
-rw-r--r--libpthread/linuxthreads.old/pthread.c1
-rw-r--r--libpthread/linuxthreads.old/semaphore.c1
-rw-r--r--libpthread/linuxthreads.old/specific.c1
-rw-r--r--libpthread/linuxthreads_db/Makefile.in1
8 files changed, 0 insertions, 8 deletions
diff --git a/libpthread/linuxthreads.old/join.c b/libpthread/linuxthreads.old/join.c
index a1172fa34..6a8a9d982 100644
--- a/libpthread/linuxthreads.old/join.c
+++ b/libpthread/linuxthreads.old/join.c
@@ -15,7 +15,6 @@
/* Thread termination and joining */
#include <features.h>
-#define __USE_GNU
#include <errno.h>
#include <sched.h>
#include <unistd.h>
diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c
index e8dd2e975..0ef3b47fc 100644
--- a/libpthread/linuxthreads.old/libc_pthread_init.c
+++ b/libpthread/linuxthreads.old/libc_pthread_init.c
@@ -17,7 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <features.h>
#include <locale.h>
#include <stdlib.h>
diff --git a/libpthread/linuxthreads.old/locale.c b/libpthread/linuxthreads.old/locale.c
index c3ebbc285..c0879d0ce 100644
--- a/libpthread/linuxthreads.old/locale.c
+++ b/libpthread/linuxthreads.old/locale.c
@@ -15,7 +15,6 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define _GNU_SOURCE
#include <features.h>
#include "pthread.h"
#include "internals.h"
diff --git a/libpthread/linuxthreads.old/manager.c b/libpthread/linuxthreads.old/manager.c
index 33e05f216..81ab0d336 100644
--- a/libpthread/linuxthreads.old/manager.c
+++ b/libpthread/linuxthreads.old/manager.c
@@ -19,7 +19,6 @@
#define __getpagesize getpagesize
#include <features.h>
-#define __USE_GNU
#include <errno.h>
#include <sched.h>
#include <stddef.h>
diff --git a/libpthread/linuxthreads.old/pthread.c b/libpthread/linuxthreads.old/pthread.c
index d7411f04b..e902aa987 100644
--- a/libpthread/linuxthreads.old/pthread.c
+++ b/libpthread/linuxthreads.old/pthread.c
@@ -16,7 +16,6 @@
#define __FORCE_GLIBC
#include <features.h>
-#define __USE_GNU
#include <errno.h>
#include <netdb.h> /* for h_errno */
#include <stddef.h>
diff --git a/libpthread/linuxthreads.old/semaphore.c b/libpthread/linuxthreads.old/semaphore.c
index 0a156e123..10b609c4a 100644
--- a/libpthread/linuxthreads.old/semaphore.c
+++ b/libpthread/linuxthreads.old/semaphore.c
@@ -15,7 +15,6 @@
/* Semaphores a la POSIX 1003.1b */
#include <features.h>
-#define __USE_GNU
#include <errno.h>
#include "pthread.h"
#include "semaphore.h"
diff --git a/libpthread/linuxthreads.old/specific.c b/libpthread/linuxthreads.old/specific.c
index 509ee6665..b6ca94389 100644
--- a/libpthread/linuxthreads.old/specific.c
+++ b/libpthread/linuxthreads.old/specific.c
@@ -15,7 +15,6 @@
/* Thread-specific data */
#include <features.h>
-#define __USE_GNU
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
diff --git a/libpthread/linuxthreads_db/Makefile.in b/libpthread/linuxthreads_db/Makefile.in
index 49bc02eb6..1bdd1a906 100644
--- a/libpthread/linuxthreads_db/Makefile.in
+++ b/libpthread/linuxthreads_db/Makefile.in
@@ -7,7 +7,6 @@
# Get the thread include dependencies and shared object name
CFLAGS-linuxthreads_db := -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
-CFLAGS-linuxthreads_db += -D_GNU_SOURCE
LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) -s --warn-unresolved-symbols