patch-2.1.51 linux/include/asm-ppc/string.h

Next file: linux/include/asm-ppc/system.h
Previous file: linux/include/asm-ppc/socket.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/include/asm-ppc/string.h linux/include/asm-ppc/string.h
@@ -12,16 +12,7 @@
 #define __HAVE_ARCH_MEMMOVE
 #define __HAVE_ARCH_MEMCMP
 #define __HAVE_ARCH_MEMCHR
-/*#define bzero(addr,size) memset((addr),(int)(0),(size))*/
-extern inline void * memchr(const void * cs,int c,size_t count)
-{
-	unsigned long i = 0;
-	while ( count != i )
-	{
-		if ( (char)c == *(char *)(cs + i) )
-			return (void *)(cs + i);
-		i--;
-	}
-	return NULL;
-}
+
+extern int strcasecmp(const char *, const char *);
+
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov