summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:35:08 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-22 19:35:08 +0000
commitdf31d32b411022d130b078de177cfa40b7bf6cde (patch)
tree0604126022fcad298f377155a756b42e28882177 /libc/stdlib
parentd98307c5af70386c4480deff87c7c9921d801c7c (diff)
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/abort.c1
-rw-r--r--libc/stdlib/atexit.c1
-rw-r--r--libc/stdlib/getpt.c1
-rw-r--r--libc/stdlib/lldiv.c1
-rw-r--r--libc/stdlib/malloc-simple/alloc.c1
-rw-r--r--libc/stdlib/malloc-standard/malloc.c1
-rw-r--r--libc/stdlib/ptsname.c1
-rw-r--r--libc/stdlib/random.c1
-rw-r--r--libc/stdlib/random_r.c1
-rw-r--r--libc/stdlib/setenv.c1
-rw-r--r--libc/stdlib/stdlib.c1
-rw-r--r--libc/stdlib/strtod.c1
12 files changed, 0 insertions, 12 deletions
diff --git a/libc/stdlib/abort.c b/libc/stdlib/abort.c
index c9ad78237..cce9c3be0 100644
--- a/libc/stdlib/abort.c
+++ b/libc/stdlib/abort.c
@@ -18,7 +18,6 @@ Cambridge, MA 02139, USA. */
/* Hacked up for uClibc by Erik Andersen */
-#define _GNU_SOURCE
#include <features.h>
#include <signal.h>
#include <stdio.h>
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c
index 4289c72b5..d6bac6eee 100644
--- a/libc/stdlib/atexit.c
+++ b/libc/stdlib/atexit.c
@@ -37,7 +37,6 @@
*
*/
-#define _GNU_SOURCE
#include <features.h>
#include <unistd.h>
#include <stdlib.h>
diff --git a/libc/stdlib/getpt.c b/libc/stdlib/getpt.c
index 7005bee71..cab96bb06 100644
--- a/libc/stdlib/getpt.c
+++ b/libc/stdlib/getpt.c
@@ -17,7 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/libc/stdlib/lldiv.c b/libc/stdlib/lldiv.c
index 09cadc691..ff670174c 100644
--- a/libc/stdlib/lldiv.c
+++ b/libc/stdlib/lldiv.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 <stdlib.h>
diff --git a/libc/stdlib/malloc-simple/alloc.c b/libc/stdlib/malloc-simple/alloc.c
index 595142526..dc4d5494f 100644
--- a/libc/stdlib/malloc-simple/alloc.c
+++ b/libc/stdlib/malloc-simple/alloc.c
@@ -6,7 +6,6 @@
* Parts of the memalign code were stolen from malloc-930716.
*/
-#define _GNU_SOURCE
#include <features.h>
#include <unistd.h>
#include <stdio.h>
diff --git a/libc/stdlib/malloc-standard/malloc.c b/libc/stdlib/malloc-standard/malloc.c
index 7025e8335..b4b1216ed 100644
--- a/libc/stdlib/malloc-standard/malloc.c
+++ b/libc/stdlib/malloc-standard/malloc.c
@@ -14,7 +14,6 @@
Hacked up for uClibc by Erik Andersen <andersen@codepoet.org>
*/
-#define _GNU_SOURCE
#include "malloc.h"
diff --git a/libc/stdlib/ptsname.c b/libc/stdlib/ptsname.c
index 5184c8f82..b41f6a118 100644
--- a/libc/stdlib/ptsname.c
+++ b/libc/stdlib/ptsname.c
@@ -18,7 +18,6 @@
02111-1307 USA. */
#define _ISOC99_SOURCE
-#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
#include <paths.h>
diff --git a/libc/stdlib/random.c b/libc/stdlib/random.c
index 38c3ea4d2..9f1977ee3 100644
--- a/libc/stdlib/random.c
+++ b/libc/stdlib/random.c
@@ -22,7 +22,6 @@
* Rewritten to use reentrant functions by Ulrich Drepper, 1995.
*/
-#define _GNU_SOURCE
#include <features.h>
#include <limits.h>
#include <stddef.h>
diff --git a/libc/stdlib/random_r.c b/libc/stdlib/random_r.c
index faf5cf42e..e95653545 100644
--- a/libc/stdlib/random_r.c
+++ b/libc/stdlib/random_r.c
@@ -22,7 +22,6 @@
* Rewritten to be reentrant by Ulrich Drepper, 1995
*/
-#define _GNU_SOURCE
#include <features.h>
#include <errno.h>
#include <limits.h>
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index 3b02cec43..bf154035e 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -19,7 +19,6 @@
modified for uClibc by Erik Andersen <andersen@codepoet.org>
*/
-#define _GNU_SOURCE
#include <features.h>
#include <errno.h>
#include <stdlib.h>
diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c
index ac6b49cb7..b8b8e4eb5 100644
--- a/libc/stdlib/stdlib.c
+++ b/libc/stdlib/stdlib.c
@@ -33,7 +33,6 @@
*/
#define _ISOC99_SOURCE /* for ULLONG primarily... */
-#define _GNU_SOURCE
#include <limits.h>
#include <stdint.h>
#include <inttypes.h>
diff --git a/libc/stdlib/strtod.c b/libc/stdlib/strtod.c
index b0dfad62a..c4447d9ea 100644
--- a/libc/stdlib/strtod.c
+++ b/libc/stdlib/strtod.c
@@ -96,7 +96,6 @@
/**********************************************************************/
#define _ISOC99_SOURCE 1
-#define _GNU_SOURCE
#include <stdlib.h>
#include <string.h>
#include <ctype.h>