diff options
Diffstat (limited to 'libc/string/rawmemchr.c')
-rw-r--r-- | libc/string/rawmemchr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/rawmemchr.c b/libc/string/rawmemchr.c index 754a34e18..1bbcb01b5 100644 --- a/libc/string/rawmemchr.c +++ b/libc/string/rawmemchr.c @@ -7,8 +7,8 @@ #include "_string.h" +#ifdef __USE_GNU libc_hidden_proto(rawmemchr) - void *rawmemchr(const void *s, int c) { register const unsigned char *r = s; @@ -18,3 +18,4 @@ void *rawmemchr(const void *s, int c) return (void *) r; /* silence the warning */ } libc_hidden_def(rawmemchr) +#endif |