From ec91d8b59d5c8b314bc50cc6feedeeaf6fe3493c Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Wed, 23 Aug 2006 03:38:46 +0000 Subject: Merge from trunk. --- libc/string/generic/strnlen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/string/generic/strnlen.c') diff --git a/libc/string/generic/strnlen.c b/libc/string/generic/strnlen.c index 31b5ba8e0..3156e469a 100644 --- a/libc/string/generic/strnlen.c +++ b/libc/string/generic/strnlen.c @@ -24,6 +24,7 @@ #include #include +#ifdef __USE_GNU libc_hidden_proto(strnlen) libc_hidden_proto(abort) @@ -160,3 +161,4 @@ size_t strnlen (const char *str, size_t maxlen) return char_ptr - str; } libc_hidden_def(strnlen) +#endif -- cgit v1.2.3