aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/string.c')
-rw-r--r--lib/string.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/string.c b/lib/string.c
index 4bb93ad23c6..5c8b55af0df 100644
--- a/lib/string.c
+++ b/lib/string.c
@@ -65,6 +65,7 @@ EXPORT_SYMBOL(strnicmp);
65 * @dest: Where to copy the string to 65 * @dest: Where to copy the string to
66 * @src: Where to copy the string from 66 * @src: Where to copy the string from
67 */ 67 */
68#undef strcpy
68char * strcpy(char * dest,const char *src) 69char * strcpy(char * dest,const char *src)
69{ 70{
70 char *tmp = dest; 71 char *tmp = dest;
@@ -132,6 +133,7 @@ EXPORT_SYMBOL(strlcpy);
132 * @dest: The string to be appended to 133 * @dest: The string to be appended to
133 * @src: The string to append to it 134 * @src: The string to append to it
134 */ 135 */
136#undef strcat
135char * strcat(char * dest, const char * src) 137char * strcat(char * dest, const char * src)
136{ 138{
137 char *tmp = dest; 139 char *tmp = dest;
@@ -209,6 +211,7 @@ EXPORT_SYMBOL(strlcat);
209 * @cs: One string 211 * @cs: One string
210 * @ct: Another string 212 * @ct: Another string
211 */ 213 */
214#undef strcmp
212int strcmp(const char * cs,const char * ct) 215int strcmp(const char * cs,const char * ct)
213{ 216{
214 register signed char __res; 217 register signed char __res;
@@ -514,6 +517,7 @@ EXPORT_SYMBOL(memmove);
514 * @ct: Another area of memory 517 * @ct: Another area of memory
515 * @count: The size of the area. 518 * @count: The size of the area.
516 */ 519 */
520#undef memcmp
517int memcmp(const void * cs,const void * ct,size_t count) 521int memcmp(const void * cs,const void * ct,size_t count)
518{ 522{
519 const unsigned char *su1, *su2; 523 const unsigned char *su1, *su2;