msvcrt: Don't forward strlen to ntdll.

This commit is contained in:
Piotr Caban 2013-09-17 14:45:29 +02:00 committed by Alexandre Julliard
parent 1803016c08
commit f0ec9b134a
2 changed files with 9 additions and 1 deletions

View File

@ -1427,7 +1427,7 @@
@ cdecl strerror(long) MSVCRT_strerror
@ cdecl strerror_s(ptr long long)
@ cdecl strftime(str long str ptr) MSVCRT_strftime
@ cdecl strlen(str) ntdll.strlen
@ cdecl strlen(str) MSVCRT_strlen
@ cdecl strncat(str str long) ntdll.strncat
@ cdecl strncat_s(str long str long) MSVCRT_strncat_s
@ cdecl strncmp(str str long) MSVCRT_strncmp

View File

@ -781,6 +781,14 @@ MSVCRT_ulong CDECL MSVCRT_strtoul(const char* nptr, char** end, int base)
return ret;
}
/*********************************************************************
* strlen (MSVCRT.@)
*/
MSVCRT_size_t __cdecl MSVCRT_strlen(const char *str)
{
return strlen(str);
}
/******************************************************************
* strnlen (MSVCRT.@)
*/