From 55b24e4e95a715b451507f2790d292fa8b1c2c1c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 22 Mar 2006 15:49:22 +0000 Subject: Mark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE --- libc/string/i386/strnlen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/string/i386') diff --git a/libc/string/i386/strnlen.c b/libc/string/i386/strnlen.c index af512f10a..77b5c7568 100644 --- a/libc/string/i386/strnlen.c +++ b/libc/string/i386/strnlen.c @@ -32,6 +32,7 @@ #include +#ifdef __USE_GNU libc_hidden_proto(strnlen) size_t strnlen(const char *s, size_t count) { @@ -52,3 +53,4 @@ size_t strnlen(const char *s, size_t count) return __res; } libc_hidden_def(strnlen) +#endif -- cgit v1.2.3