diff --git a/reactos/lib/sdk/crt/string/atol.c b/reactos/lib/sdk/crt/string/atol.c index 459446151c4..b66d1767d77 100644 --- a/reactos/lib/sdk/crt/string/atol.c +++ b/reactos/lib/sdk/crt/string/atol.c @@ -1,14 +1,17 @@ /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ #include -#include /* * @implemented */ -long -_ttol(const _TCHAR *str) +long atol(const char *str) { - return (long)_ttoi64(str); + return (long)_atoi64(str); +} + +long _wtol(const wchar_t *str) +{ + return (long)_wtoi64(str); } int _atoldbl(_LDOUBLE *value, char *str) @@ -16,4 +19,4 @@ int _atoldbl(_LDOUBLE *value, char *str) /* FIXME needs error checking for huge/small values */ //*value = strtold(str,0); return -1; -} +} \ No newline at end of file