diff --git a/components/libc/minilibc/string.c b/components/libc/minilibc/string.c index 4969ed2fc67ffbcf48047eb37efbf2255a8a1ea7..4e90da1554651d50b14c1f3973743fe605fee6be 100644 --- a/components/libc/minilibc/string.c +++ b/components/libc/minilibc/string.c @@ -621,4 +621,14 @@ char *strchr(const char *s1, int i) return (char *) s; } +long strtol(const char *str, char **endptr, int base) +{ + return simple_strtol(str, endptr, base); +} + +long long strtoll(const char *str, char **endptr, int base) +{ + return simple_strtoll(str, endptr, base); +} + #endif