* include/string.h: Add prototype for __memchr.
This commit is contained in:
Andreas Jaeger 2000-07-18 14:00:31 +00:00
parent 626da526d6
commit 80f41baaef
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2000-07-18 Andreas Jaeger <aj@suse.de>
* include/string.h: Add prototype for __memchr.
* sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
* sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr

View File

@ -31,6 +31,9 @@ extern char *__strchrnul (__const char *__s, int __c)
extern void *__memrchr (__const void *__s, int __c, size_t __n)
__attribute_pure__;
extern void *__memchr (__const void *__s, int __c, size_t __n)
__attribute_pure__;
/* Now the real definitions. We do this here since some of the functions
above are defined as macros in the headers. */
#include <string/string.h>