aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-64/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/strtol.c')
-rw-r--r--sysdeps/wordsize-64/strtol.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/wordsize-64/strtol.c b/sysdeps/wordsize-64/strtol.c
index 2a18f7a642..4ffbca6bdc 100644
--- a/sysdeps/wordsize-64/strtol.c
+++ b/sysdeps/wordsize-64/strtol.c
@@ -1,10 +1,13 @@
/* We have to irritate the compiler a bit. */
#define __strtoll_internal __strtoll_internal_XXX
#define strtoll strtoll_XXX
+#define strtoq strtoq_XXX
#include <sysdeps/generic/strtol.c>
#undef __strtoll_internal
#undef strtoll
+#undef strtoq
strong_alias (__strtol_internal, __strtoll_internal)
-weak_alias (__strtoll_internal, strtoll)
+weak_alias (strtol, strtoll)
+weak_alias (strtol, strtoq)