diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-09-12 01:29:55 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-09-12 01:29:55 +0000 |
commit | 545f435ebcfd94a1e7c20b46efe81b4d6ac4e698 (patch) | |
tree | e9ce4bc598d06374bda906f18365984bf22a526a /include/asm-ppc/string.h | |
parent | 4291a610eef89d0d5c69d9a10ee6560e1aa36c74 (diff) |
Merge with Linux 2.1.55. More bugfixes and goodies from my private
CVS archive.
Diffstat (limited to 'include/asm-ppc/string.h')
-rw-r--r-- | include/asm-ppc/string.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/include/asm-ppc/string.h b/include/asm-ppc/string.h index 207ab3689..1af5e6270 100644 --- a/include/asm-ppc/string.h +++ b/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 |