Author: tfaber
Date: Wed Jun 1 07:07:57 2016
New Revision: 71480
URL:
http://svn.reactos.org/svn/reactos?rev=71480&view=rev
Log:
[CRT]
- Give strtoi64_l and strtoul_l their missing leading underscores
Modified:
trunk/reactos/sdk/lib/crt/string/strtoi64.c
trunk/reactos/sdk/lib/crt/string/strtoul.c
Modified: trunk/reactos/sdk/lib/crt/string/strtoi64.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/string/strtoi6…
==============================================================================
--- trunk/reactos/sdk/lib/crt/string/strtoi64.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/string/strtoi64.c [iso-8859-1] Wed Jun 1 07:07:57 2016
@@ -7,7 +7,7 @@
*
* FIXME: locale parameter is ignored
*/
-__int64 CDECL strtoi64_l(const char *nptr, char **endptr, int base, _locale_t locale)
+__int64 CDECL _strtoi64_l(const char *nptr, char **endptr, int base, _locale_t locale)
{
const char *p = nptr;
BOOL negative = FALSE;
@@ -87,7 +87,7 @@
__int64
_strtoi64(const char *nptr, char **endptr, int base)
{
- return strtoi64_l(nptr, endptr, base, NULL);
+ return _strtoi64_l(nptr, endptr, base, NULL);
}
Modified: trunk/reactos/sdk/lib/crt/string/strtoul.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/string/strtoul…
==============================================================================
--- trunk/reactos/sdk/lib/crt/string/strtoul.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/string/strtoul.c [iso-8859-1] Wed Jun 1 07:07:57 2016
@@ -1,14 +1,12 @@
#include <precomp.h>
/* Based on Wine Staging 1.9.9 - dlls/msvcrt/string.c */
-__int64 CDECL strtoi64_l(const char *nptr, char **endptr, int base, _locale_t locale);
-
/******************************************************************
* _strtoul_l (MSVCRT.@)
*/
-unsigned long CDECL strtoul_l(const char* nptr, char** end, int base, _locale_t locale)
+unsigned long CDECL _strtoul_l(const char* nptr, char** end, int base, _locale_t locale)
{
- __int64 ret = strtoi64_l(nptr, end, base, locale);
+ __int64 ret = _strtoi64_l(nptr, end, base, locale);
if(ret > ULONG_MAX) {
ret = ULONG_MAX;
@@ -30,5 +28,5 @@
*/
unsigned long CDECL strtoul(const char* nptr, char** end, int base)
{
- return strtoul_l(nptr, end, base, NULL);
+ return _strtoul_l(nptr, end, base, NULL);
}