msvcrt: Don't forward atoi to ntdll.
This commit is contained in:
parent
06c6773844
commit
15b40e7b9c
|
@ -1249,7 +1249,7 @@
|
|||
@ cdecl -arch=arm,x86_64 atan2f(float float) MSVCRT_atan2f
|
||||
@ cdecl atexit(ptr) MSVCRT_atexit
|
||||
@ cdecl atof(str) MSVCRT_atof
|
||||
@ cdecl atoi(str) ntdll.atoi
|
||||
@ cdecl atoi(str) MSVCRT_atoi
|
||||
@ cdecl atol(str) ntdll.atol
|
||||
@ cdecl bsearch(ptr ptr long long ptr) ntdll.bsearch
|
||||
@ cdecl bsearch_s(ptr ptr long long ptr ptr) MSVCRT_bsearch_s
|
||||
|
|
|
@ -861,7 +861,7 @@ __int64 CDECL MSVCRT_strtoi64(const char *nptr, char **endptr, int base)
|
|||
/*********************************************************************
|
||||
* _atoi_l (MSVCRT.@)
|
||||
*/
|
||||
int MSVCRT__atoi_l(const char *str, MSVCRT__locale_t locale)
|
||||
int __cdecl MSVCRT__atoi_l(const char *str, MSVCRT__locale_t locale)
|
||||
{
|
||||
__int64 ret = MSVCRT_strtoi64_l(str, NULL, 10, locale);
|
||||
|
||||
|
@ -875,6 +875,14 @@ int MSVCRT__atoi_l(const char *str, MSVCRT__locale_t locale)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* atoi (MSVCRT.@)
|
||||
*/
|
||||
int __cdecl MSVCRT_atoi(const char *str)
|
||||
{
|
||||
return MSVCRT__atoi_l(str, NULL);
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _strtoui64_l (MSVCRT.@)
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue