X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f3016ce71f0bbc04af06b7f8be4a4af0fd0269c2..50aea5b14c477bbf20451ff2e211c6e3cbf2a132:/target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch diff --git a/target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch b/target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch index 0d6d1fadb..51ec27fba 100644 --- a/target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch +++ b/target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch @@ -1,7 +1,5 @@ -Index: linux-2.4.35.4/lib/string.c -=================================================================== ---- linux-2.4.35.4.orig/lib/string.c -+++ linux-2.4.35.4/lib/string.c +--- a/lib/string.c ++++ b/lib/string.c @@ -50,6 +50,7 @@ int strnicmp(const char *s1, const char } return (int)c1 - (int)c2; @@ -138,7 +136,7 @@ Index: linux-2.4.35.4/lib/string.c #endif #ifndef __HAVE_ARCH_MEMCMP -@@ -458,6 +475,7 @@ int memcmp(const void * cs,const void * +@@ -459,6 +476,7 @@ int memcmp(const void * cs,const void * break; return res; } @@ -146,7 +144,7 @@ Index: linux-2.4.35.4/lib/string.c #endif #ifndef __HAVE_ARCH_MEMSCAN -@@ -482,6 +500,7 @@ void * memscan(void * addr, int c, size_ +@@ -483,6 +501,7 @@ void * memscan(void * addr, int c, size_ } return (void *) p; } @@ -154,7 +152,7 @@ Index: linux-2.4.35.4/lib/string.c #endif #ifndef __HAVE_ARCH_STRSTR -@@ -506,6 +525,7 @@ char * strstr(const char * s1,const char +@@ -507,6 +526,7 @@ char * strstr(const char * s1,const char } return NULL; } @@ -162,7 +160,7 @@ Index: linux-2.4.35.4/lib/string.c #endif #ifndef __HAVE_ARCH_MEMCHR -@@ -528,5 +548,5 @@ void *memchr(const void *s, int c, size_ +@@ -529,5 +549,5 @@ void *memchr(const void *s, int c, size_ } return NULL; }