summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
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>