aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-64/strtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/strtoul.c')
-rw-r--r--sysdeps/wordsize-64/strtoul.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/strtoul.c b/sysdeps/wordsize-64/strtoul.c
new file mode 100644
index 0000000000..838474f436
--- /dev/null
+++ b/sysdeps/wordsize-64/strtoul.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit. */
+#define __strtoull_internal __strtoull_internal_XXX
+#define strtoull strtoull_XXX
+
+#include <sysdeps/generic/strtoul.c>
+
+#undef __strtoull_internal
+#undef strtoull
+strong_alias (__strtoul_internal, __strtoull_internal)
+weak_alias (__strtoull_internal, strtoull)