Explorar o código

fixed compiling error for GCC

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@428 bbd45198-f89e-11dd-88c7-29a3b14d5316
gary.li.wenchao.4 %!s(int64=15) %!d(string=hai) anos
pai
achega
faffc442b9
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      libc/minilibc/string.c

+ 0 - 7
libc/minilibc/string.c

@@ -41,13 +41,6 @@ int strcmp (const char *s1, const char *s2)
 	return (*s1 - *s2);
 }
 
-int strcmp (const char *s1, const char *s2)
-{
-	while (*s1 && *s1 == *s2)
-		s1++, s2++;
-	return (*s1 - *s2);
-}
-
 char* strcat(register char* s,register const char* t)
 {
 	char *dest = s;