From 80f41baaef3ec249c797d2aaf6f8b90343152ccd Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 18 Jul 2000 14:00:31 +0000 Subject: Update. * include/string.h: Add prototype for __memchr. --- ChangeLog | 2 ++ include/string.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3331b7b..a5ec8fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-07-18 Andreas Jaeger + * 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 diff --git a/include/string.h b/include/string.h index 509fce2..9ccea02 100644 --- a/include/string.h +++ b/include/string.h @@ -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 -- cgit v1.1