summaryrefslogtreecommitdiff
path: root/libc/stdio
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/stdio
parentd98307c5af70386c4480deff87c7c9921d801c7c (diff)
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_stdio.h2
-rw-r--r--libc/stdio/old_vfprintf.c1
-rw-r--r--libc/stdio/scanf.c1
-rw-r--r--libc/stdio/vfprintf.c1
4 files changed, 0 insertions, 5 deletions
diff --git a/libc/stdio/_stdio.h b/libc/stdio/_stdio.h
index 7c8176ecc..1c31647cc 100644
--- a/libc/stdio/_stdio.h
+++ b/libc/stdio/_stdio.h
@@ -5,8 +5,6 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
-#define _GNU_SOURCE
-
#include <features.h>
#include <assert.h>
#include <errno.h>
diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c
index ec71f8f1a..f81ef8688 100644
--- a/libc/stdio/old_vfprintf.c
+++ b/libc/stdio/old_vfprintf.c
@@ -128,7 +128,6 @@
/**************************************************************************/
#define _ISOC99_SOURCE /* for ULLONG primarily... */
-#define _GNU_SOURCE /* for strnlen */
#include "_stdio.h"
/* #include <stdio.h> */
#include <stdarg.h>
diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c
index b6fc1a699..df78e7ad3 100644
--- a/libc/stdio/scanf.c
+++ b/libc/stdio/scanf.c
@@ -44,7 +44,6 @@
*/
#define _ISOC99_SOURCE /* for LLONG_MAX primarily... */
-#define _GNU_SOURCE
#include <features.h>
#include "_stdio.h"
#include <stdlib.h>
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c
index 7794c6e39..a32960f2e 100644
--- a/libc/stdio/vfprintf.c
+++ b/libc/stdio/vfprintf.c
@@ -89,7 +89,6 @@
*/
#define _ISOC99_SOURCE /* for ULLONG primarily... */
-#define _GNU_SOURCE
#include <features.h>
#include "_stdio.h"
#include <stdlib.h>