From b34bab24093904492a924303d4e24faffee2cd87 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 16 Jun 2003 04:50:09 +0000 Subject: Add memmem(). --- include/string.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index 872cccab2..8aa40f262 100644 --- a/include/string.h +++ b/include/string.h @@ -199,14 +199,12 @@ extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, #endif #ifdef __USE_GNU -#if 0 /* Find the first occurrence of NEEDLE in HAYSTACK. NEEDLE is NEEDLELEN bytes long; HAYSTACK is HAYSTACKLEN bytes long. */ extern void *memmem (__const void *__haystack, size_t __haystacklen, __const void *__needle, size_t __needlelen) __THROW __attribute_pure__; -#endif /* Copy N bytes of SRC to DEST, return pointer to bytes after the last written byte. */ -- cgit v1.2.3