This commit is contained in:
Frank Denis 2017-02-23 11:13:43 +01:00
parent 9cd732c88d
commit dd9d8e283b

View File

@ -25,7 +25,8 @@ xmemset(void *dst, int c, size_t n)
# define strcmp(s1, s2) xstrcmp(s1, s2)
static int
strcmp(const char *s1, const char *s2) {
strcmp(const char *s1, const char *s2)
{
while (*s1 == *s2++) {
if (*s1++ == 0) {
return 0;