define strtol with __strol_internal

This commit is contained in:
Laurent Vivier 2005-11-26 18:29:55 +00:00
parent 29fca40450
commit d626de9474
1 changed files with 5 additions and 0 deletions

View File

@ -65,3 +65,8 @@ long int __strtol_internal (const char *nptr, char **endptr, int base, int group
*endptr = (char*)nptr;
return sign * result;
}
long int strtol(const char *nptr, char **endptr, int base)
{
return __strtol_internal(nptr, endptr, base, 0);
}