summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-26 20:42:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-26 20:42:18 +0000
commiteb81d2d1629a0ecc62066ca593d55e97485d1408 (patch)
tree9264d2b913f480a708714830608dc5615c016ecc /target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch
parent4b7db99798885095b033f783fc43fd05f35ce99d (diff)
remove generic linux 2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21948 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch')
-rw-r--r--target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch169
1 files changed, 0 insertions, 169 deletions
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
deleted file mode 100644
index 51ec27fba..000000000
--- a/target/linux/generic-2.4/patches/225-string_lib_useful_exports.patch
+++ /dev/null
@@ -1,169 +0,0 @@
---- a/lib/string.c
-+++ b/lib/string.c
-@@ -50,6 +50,7 @@ int strnicmp(const char *s1, const char
- }
- return (int)c1 - (int)c2;
- }
-+EXPORT_SYMBOL(strnicmp);
- #endif
-
- char * ___strtok;
-@@ -68,6 +69,7 @@ char * strcpy(char * dest,const char *sr
- /* nothing */;
- return tmp;
- }
-+EXPORT_SYMBOL(strcpy);
- #endif
-
- #ifndef __HAVE_ARCH_STRNCPY
-@@ -90,6 +92,7 @@ char * strncpy(char * dest,const char *s
-
- return tmp;
- }
-+EXPORT_SYMBOL(strncpy);
- #endif
-
- #ifndef __HAVE_ARCH_STRCAT
-@@ -109,6 +112,7 @@ char * strcat(char * dest, const char *
-
- return tmp;
- }
-+EXPORT_SYMBOL(strcat);
- #endif
-
- #ifndef __HAVE_ARCH_STRNCAT
-@@ -138,6 +142,7 @@ char * strncat(char *dest, const char *s
-
- return tmp;
- }
-+EXPORT_SYMBOL(strncat);
- #endif
-
- #ifndef __HAVE_ARCH_STRCMP
-@@ -157,6 +162,7 @@ int strcmp(const char * cs,const char *
-
- return __res;
- }
-+EXPORT_SYMBOL(strcmp);
- #endif
-
- #ifndef __HAVE_ARCH_STRNCMP
-@@ -178,6 +184,7 @@ int strncmp(const char * cs,const char *
-
- return __res;
- }
-+EXPORT_SYMBOL(strncmp);
- #endif
-
- #ifndef __HAVE_ARCH_STRCHR
-@@ -193,6 +200,7 @@ char * strchr(const char * s, int c)
- return NULL;
- return (char *) s;
- }
-+EXPORT_SYMBOL(strchr);
- #endif
-
- #ifndef __HAVE_ARCH_STRRCHR
-@@ -210,6 +218,7 @@ char * strrchr(const char * s, int c)
- } while (--p >= s);
- return NULL;
- }
-+EXPORT_SYMBOL(strrchr);
- #endif
-
- #ifndef __HAVE_ARCH_STRLEN
-@@ -225,6 +234,7 @@ size_t strlen(const char * s)
- /* nothing */;
- return sc - s;
- }
-+EXPORT_SYMBOL(strlen);
- #endif
-
- #ifndef __HAVE_ARCH_STRNLEN
-@@ -241,6 +251,7 @@ size_t strnlen(const char * s, size_t co
- /* nothing */;
- return sc - s;
- }
-+EXPORT_SYMBOL(strnlen);
- #endif
-
- #ifndef __HAVE_ARCH_STRSPN
-@@ -268,6 +279,7 @@ size_t strspn(const char *s, const char
-
- return count;
- }
-+EXPORT_SYMBOL(strspn);
- #endif
-
- #ifndef __HAVE_ARCH_STRPBRK
-@@ -288,6 +300,7 @@ char * strpbrk(const char * cs,const cha
- }
- return NULL;
- }
-+EXPORT_SYMBOL(strpbrk);
- #endif
-
- #ifndef __HAVE_ARCH_STRTOK
-@@ -345,6 +358,7 @@ char * strsep(char **s, const char *ct)
-
- return sbegin;
- }
-+EXPORT_SYMBOL(strsep);
- #endif
-
- #ifndef __HAVE_ARCH_MEMSET
-@@ -365,6 +379,7 @@ void * memset(void * s,int c,size_t coun
-
- return s;
- }
-+EXPORT_SYMBOL(memset);
- #endif
-
- #ifndef __HAVE_ARCH_BCOPY
-@@ -409,6 +424,7 @@ void * memcpy(void * dest,const void *sr
-
- return dest;
- }
-+EXPORT_SYMBOL(memcpy);
- #endif
-
- #ifndef __HAVE_ARCH_MEMMOVE
-@@ -439,6 +455,7 @@ void * memmove(void * dest,const void *s
-
- return dest;
- }
-+EXPORT_SYMBOL(memmove);
- #endif
-
- #ifndef __HAVE_ARCH_MEMCMP
-@@ -459,6 +476,7 @@ int memcmp(const void * cs,const void *
- break;
- return res;
- }
-+EXPORT_SYMBOL(memcmp);
- #endif
-
- #ifndef __HAVE_ARCH_MEMSCAN
-@@ -483,6 +501,7 @@ void * memscan(void * addr, int c, size_
- }
- return (void *) p;
- }
-+EXPORT_SYMBOL(memscan);
- #endif
-
- #ifndef __HAVE_ARCH_STRSTR
-@@ -507,6 +526,7 @@ char * strstr(const char * s1,const char
- }
- return NULL;
- }
-+EXPORT_SYMBOL(strstr);
- #endif
-
- #ifndef __HAVE_ARCH_MEMCHR
-@@ -529,5 +549,5 @@ void *memchr(const void *s, int c, size_
- }
- return NULL;
- }
--
-+EXPORT_SYMBOL(memchr);
- #endif