diff options
Diffstat (limited to 'libc/bionic/strtol.cpp')
-rw-r--r-- | libc/bionic/strtol.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/bionic/strtol.cpp b/libc/bionic/strtol.cpp index 63ac102b5..77f1d9229 100644 --- a/libc/bionic/strtol.cpp +++ b/libc/bionic/strtol.cpp @@ -184,9 +184,7 @@ long long strtoll(const char* s, char** end, int base) { } // Public API since L, but not in any header. -extern "C" long long strtoq(const char* s, char** end, int base) { - return strtoll(s, end, base); -} +__strong_alias(strtoq, strtoll); unsigned long strtoul(const char* s, char** end, int base) { return StrToU<unsigned long, ULONG_MAX>(s, end, base); @@ -201,6 +199,4 @@ uintmax_t strtoumax(const char* s, char** end, int base) { } // Public API since L, but not in any header. -extern "C" unsigned long long strtouq(const char* s, char** end, int base) { - return strtoull(s, end, base); -} +__strong_alias(strtouq, strtoull); |