summaryrefslogtreecommitdiff
path: root/libc/string/generic
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/string/generic
parentd98307c5af70386c4480deff87c7c9921d801c7c (diff)
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Diffstat (limited to 'libc/string/generic')
-rw-r--r--libc/string/generic/memmem.c1
-rw-r--r--libc/string/generic/mempcpy.c1
-rw-r--r--libc/string/generic/memrchr.c1
-rw-r--r--libc/string/generic/rawmemchr.c1
-rw-r--r--libc/string/generic/strchrnul.c1
-rw-r--r--libc/string/generic/strnlen.c1
-rw-r--r--libc/string/generic/strtok_r.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/libc/string/generic/memmem.c b/libc/string/generic/memmem.c
index 386cb5e02..c2e8547be 100644
--- a/libc/string/generic/memmem.c
+++ b/libc/string/generic/memmem.c
@@ -16,7 +16,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <string.h>
#include <stddef.h>
diff --git a/libc/string/generic/mempcpy.c b/libc/string/generic/mempcpy.c
index ac91541a5..7c251914d 100644
--- a/libc/string/generic/mempcpy.c
+++ b/libc/string/generic/mempcpy.c
@@ -5,7 +5,6 @@
/* Ditch the glibc version and just wrap memcpy. */
-#define _GNU_SOURCE
#include <string.h>
libc_hidden_proto(mempcpy)
diff --git a/libc/string/generic/memrchr.c b/libc/string/generic/memrchr.c
index 7cb5b2246..f63efa46b 100644
--- a/libc/string/generic/memrchr.c
+++ b/libc/string/generic/memrchr.c
@@ -22,7 +22,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
#include <limits.h>
diff --git a/libc/string/generic/rawmemchr.c b/libc/string/generic/rawmemchr.c
index 3c1cc01de..85fc09836 100644
--- a/libc/string/generic/rawmemchr.c
+++ b/libc/string/generic/rawmemchr.c
@@ -21,7 +21,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
#include <limits.h>
diff --git a/libc/string/generic/strchrnul.c b/libc/string/generic/strchrnul.c
index 3616341a7..e699a6dfa 100644
--- a/libc/string/generic/strchrnul.c
+++ b/libc/string/generic/strchrnul.c
@@ -21,7 +21,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
diff --git a/libc/string/generic/strnlen.c b/libc/string/generic/strnlen.c
index c5da906ef..31b5ba8e0 100644
--- a/libc/string/generic/strnlen.c
+++ b/libc/string/generic/strnlen.c
@@ -21,7 +21,6 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
diff --git a/libc/string/generic/strtok_r.c b/libc/string/generic/strtok_r.c
index 566538fd5..0ab18b35e 100644
--- a/libc/string/generic/strtok_r.c
+++ b/libc/string/generic/strtok_r.c
@@ -17,7 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _GNU_SOURCE
#include <string.h>
libc_hidden_proto(strtok_r)