diff --git a/libc/stdlib/strtol.c b/libc/stdlib/strtol.c index 9ad2b3c96f..fc49d9e09f 100644 --- a/libc/stdlib/strtol.c +++ b/libc/stdlib/strtol.c @@ -54,3 +54,10 @@ uintmax_t strtoumax(const char *restrict s, char **restrict p, int base) { return strtoull(s, p, base); } + +weak_alias(strtol, __strtol_internal); +weak_alias(strtoul, __strtoul_internal); +weak_alias(strtoll, __strtoll_internal); +weak_alias(strtoull, __strtoull_internal); +weak_alias(strtoimax, __strtoimax_internal); +weak_alias(strtoumax, __strtoumax_internal);