msvcrt: Don't forward memcmp to ntdll.

This commit is contained in:
Piotr Caban 2013-09-17 14:44:56 +02:00 committed by Alexandre Julliard
parent 208eae73ae
commit 4fbf246298
2 changed files with 11 additions and 3 deletions

View File

@ -1370,7 +1370,7 @@
@ cdecl mbstowcs_s(ptr ptr long str long) MSVCRT__mbstowcs_s
@ cdecl mbtowc(ptr str long) MSVCRT_mbtowc
@ cdecl memchr(ptr long long) MSVCRT_memchr
@ cdecl memcmp(ptr ptr long) ntdll.memcmp
@ cdecl memcmp(ptr ptr long) MSVCRT_memcmp
@ cdecl memcpy(ptr ptr long) MSVCRT_memcpy
@ cdecl memcpy_s(ptr long ptr long)
@ cdecl memmove(ptr ptr long) ntdll.memmove

View File

@ -1593,12 +1593,20 @@ int CDECL MSVCRT_I10_OUTPUT(MSVCRT__LDOUBLE ld80, int prec, int flag, struct _I1
}
#undef I10_OUTPUT_MAX_PREC
/*********************************************************************
* memcmp (MSVCRT.@)
*/
int __cdecl MSVCRT_memcmp(const void *ptr1, const void *ptr2, MSVCRT_size_t n)
{
return memcmp(ptr1, ptr2, n);
}
/*********************************************************************
* memcpy (MSVCRT.@)
*/
void * __cdecl MSVCRT_memcpy( void *dst, const void *src, size_t n )
void * __cdecl MSVCRT_memcpy(void *dst, const void *src, MSVCRT_size_t n)
{
return memmove( dst, src, n );
return memmove(dst, src, n);
}
/*********************************************************************