mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-28 10:12:09 +08:00
fixed compiling error for GCC
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@428 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user