msvcrt: Don't forward strncmp to ntdll.

This commit is contained in:
Piotr Caban 2013-03-27 16:12:19 +01:00 committed by Alexandre Julliard
parent bf237452ef
commit e66e950459
2 changed files with 9 additions and 1 deletions

View File

@ -1423,7 +1423,7 @@
@ cdecl strlen(str) ntdll.strlen @ cdecl strlen(str) ntdll.strlen
@ cdecl strncat(str str long) ntdll.strncat @ cdecl strncat(str str long) ntdll.strncat
@ cdecl strncat_s(str long str long) MSVCRT_strncat_s @ cdecl strncat_s(str long str long) MSVCRT_strncat_s
@ cdecl strncmp(str str long) ntdll.strncmp @ cdecl strncmp(str str long) MSVCRT_strncmp
@ cdecl strncpy(ptr str long) ntdll.strncpy @ cdecl strncpy(ptr str long) ntdll.strncpy
@ cdecl strncpy_s(ptr long str long) @ cdecl strncpy_s(ptr long str long)
@ cdecl strnlen(str long) MSVCRT_strnlen @ cdecl strnlen(str long) MSVCRT_strnlen

View File

@ -1582,6 +1582,14 @@ char* __cdecl MSVCRT_strchr(const char *str, int c)
return strchr(str, c); return strchr(str, c);
} }
/*********************************************************************
* strncmp (MSVCRT.@)
*/
int __cdecl MSVCRT_strncmp(const char *str1, const char *str2, MSVCRT_size_t len)
{
return strncmp(str1, str2, len);
}
/********************************************************************* /*********************************************************************
* _strnicmp_l (MSVCRT.@) * _strnicmp_l (MSVCRT.@)
*/ */