X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fcrtdll%2Fstring%2Fstrcmp.c;fp=lib%2Fcrtdll%2Fstring%2Fstrcmp.c;h=0000000000000000000000000000000000000000;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hp=52d3448f1d058ac7598810b17019f25f46cc65df;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605;p=reactos.git diff --git a/lib/crtdll/string/strcmp.c b/lib/crtdll/string/strcmp.c deleted file mode 100644 index 52d3448..0000000 --- a/lib/crtdll/string/strcmp.c +++ /dev/null @@ -1,15 +0,0 @@ -/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ -#include - - -int strcmp(const char* s1, const char* s2) -{ - while (*s1 == *s2) - { - if (*s1 == 0) - return 0; - s1++; - s2++; - } - return *(unsigned const char*)s1 - *(unsigned const char*)(s2); -}