msvcrt: Don't forward _itoa to ntdll.

This commit is contained in:
Piotr Caban 2013-10-01 11:28:09 +02:00 committed by Alexandre Julliard
parent 1a3546e54b
commit d99090aff8
2 changed files with 9 additions and 1 deletions

View File

@ -646,7 +646,7 @@
# stub _iswupper_l(long ptr)
# stub _iswxdigit_l(long ptr)
@ cdecl _isxdigit_l(long ptr) MSVCRT__isxdigit_l
@ cdecl _itoa(long ptr long) ntdll._itoa
@ cdecl _itoa(long ptr long)
@ cdecl _itoa_s(long ptr long long)
@ cdecl _itow(long ptr long) ntdll._itow
@ cdecl _itow_s(long ptr long long)

View File

@ -1138,6 +1138,14 @@ int CDECL _itoa_s(int value, char *str, MSVCRT_size_t size, int radix)
return _ltoa_s(value, str, size, radix);
}
/*********************************************************************
* _itoa (MSVCRT.@)
*/
char* CDECL _itoa(int value, char *str, int radix)
{
return _itoa_s(value, str, MSVCRT_SIZE_MAX, radix) ? NULL : str;
}
/*********************************************************************
* _itow_s (MSVCRT.@)
*/