1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
Patch by khendricks@ivey.uwo.ca [libc/1382].
This commit is contained in:
Ulrich Drepper
1999-10-09 21:56:43 +00:00
parent a4a1492eb9
commit c1422e5b7c
113 changed files with 2924 additions and 2968 deletions

View File

@ -368,7 +368,7 @@ __mempcpy_small (void *__dest, char __src1,
/* Return pointer to C in S. */
#ifndef _HAVE_STRING_ARCH_strchr
extern __ptr_t __rawmemchr (const __ptr_t __s, int __c);
extern void *__rawmemchr (const void *__s, int __c);
# define strchr(s, c) \
(__extension__ (__builtin_constant_p (c) && (c) == '\0' \
? (char *) __rawmemchr (s, c) \