[uClibc-cvs] uClibc/include string.h,1.22,1.23

Manuel Novoa III mjn3 at uclibc.org
Mon Jun 16 04:50:11 UTC 2003


Update of /var/cvs/uClibc/include
In directory winder:/tmp/cvs-serv26844/include

Modified Files:
	string.h 
Log Message:
Add memmem().


Index: string.h
===================================================================
RCS file: /var/cvs/uClibc/include/string.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- string.h	19 Sep 2002 17:29:57 -0000	1.22
+++ string.h	16 Jun 2003 04:50:07 -0000	1.23
@@ -199,14 +199,12 @@
 #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.  */



More information about the uClibc-cvs mailing list