diff --git a/src/kernel/libroot/posix/stdlib/strtod.c b/src/kernel/libroot/posix/stdlib/strtod.c index d4456946e0..279e15969f 100644 --- a/src/kernel/libroot/posix/stdlib/strtod.c +++ b/src/kernel/libroot/posix/stdlib/strtod.c @@ -1601,6 +1601,18 @@ strtod(const char * __restrict s00, char ** __restrict se) } +double __strtod_internal(const char *number, char **_end, int group); + +double +__strtod_internal(const char *number, char **_end, int group) +{ + // ToDo: group is currently not supported! + (void)group; + + return strtod(number, _end); +} + + /* removed from the build, is only used by __dtoa() */ #if 0 static int diff --git a/src/kernel/libroot/posix/stdlib/strtol.c b/src/kernel/libroot/posix/stdlib/strtol.c index d76d699364..fe8883673f 100644 --- a/src/kernel/libroot/posix/stdlib/strtol.c +++ b/src/kernel/libroot/posix/stdlib/strtol.c @@ -135,3 +135,16 @@ noconv: *endptr = (char *)(any ? s - 1 : nptr); return (acc); } + + +long __strtol_internal(const char *number, char **_end, int base, int group); + +long +__strtol_internal(const char *number, char **_end, int base, int group) +{ + // ToDo: group is currently not supported! + (void)group; + + return strtol(number, _end, base); +} + diff --git a/src/kernel/libroot/posix/stdlib/strtoll.c b/src/kernel/libroot/posix/stdlib/strtoll.c index 5b0d307115..4771a122ff 100644 --- a/src/kernel/libroot/posix/stdlib/strtoll.c +++ b/src/kernel/libroot/posix/stdlib/strtoll.c @@ -137,3 +137,16 @@ noconv: return acc; } + + +long long __strtoll_internal(const char *number, char **_end, int base, int group); + +long long +__strtoll_internal(const char *number, char **_end, int base, int group) +{ + // ToDo: group is currently not supported! + (void)group; + + return strtoll(number, _end, base); +} + diff --git a/src/kernel/libroot/posix/stdlib/strtoul.c b/src/kernel/libroot/posix/stdlib/strtoul.c index b5e85a52dd..76f7c349c3 100644 --- a/src/kernel/libroot/posix/stdlib/strtoul.c +++ b/src/kernel/libroot/posix/stdlib/strtoul.c @@ -114,3 +114,16 @@ noconv: *endptr = (char *)(any ? s - 1 : nptr); return (acc); } + + +unsigned long __strtoul_internal(const char *number, char **_end, int base, int group); + +unsigned long +__strtoul_internal(const char *number, char **_end, int base, int group) +{ + // ToDo: group is currently not supported! + (void)group; + + return strtoul(number, _end, base); +} + diff --git a/src/kernel/libroot/posix/stdlib/strtoull.c b/src/kernel/libroot/posix/stdlib/strtoull.c index 164da2668d..709dc2bb76 100644 --- a/src/kernel/libroot/posix/stdlib/strtoull.c +++ b/src/kernel/libroot/posix/stdlib/strtoull.c @@ -115,3 +115,16 @@ noconv: return acc; } + + +unsigned long long __strtoull_internal(const char *number, char **_end, int base, int group); + +unsigned long long +__strtoull_internal(const char *number, char **_end, int base, int group) +{ + // ToDo: group is currently not supported! + (void)group; + + return strtoull(number, _end, base); +} +