summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-18 14:00:31 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-18 14:00:31 +0000
commit80f41baaef3ec249c797d2aaf6f8b90343152ccd (patch)
tree4805cbd50afbf0cde204bf5d093de50b21492cf0 /include
parent626da526d693cb685a4e7cde534200a042986352 (diff)
Update.
* include/string.h: Add prototype for __memchr.
Diffstat (limited to 'include')
-rw-r--r--include/string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 509fce2df1..9ccea02ad3 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 <string/string.h>