diff options
Diffstat (limited to 'libc/string/generic/rawmemchr.c')
-rw-r--r-- | libc/string/generic/rawmemchr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/generic/rawmemchr.c b/libc/string/generic/rawmemchr.c index 3fc0e52f3..3c1cc01de 100644 --- a/libc/string/generic/rawmemchr.c +++ b/libc/string/generic/rawmemchr.c @@ -21,10 +21,12 @@ 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> +libc_hidden_proto(rawmemchr) libc_hidden_proto(abort) #include "memcopy.h" @@ -158,5 +160,4 @@ void *rawmemchr (const void * s, int c_in) } } } -libc_hidden_proto(rawmemchr) libc_hidden_def(rawmemchr) |