aboutsummaryrefslogtreecommitdiff
path: root/REORG.TODO/sysdeps/wordsize-64/strtoul_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/wordsize-64/strtoul_l.c')
-rw-r--r--REORG.TODO/sysdeps/wordsize-64/strtoul_l.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/wordsize-64/strtoul_l.c b/REORG.TODO/sysdeps/wordsize-64/strtoul_l.c
new file mode 100644
index 0000000000..80cca332b1
--- /dev/null
+++ b/REORG.TODO/sysdeps/wordsize-64/strtoul_l.c
@@ -0,0 +1,14 @@
+/* We have to irritate the compiler a bit. */
+#define ____strtoull_l_internal ____strtoull_l_internal_XXX
+#define __strtoull_l __strtoull_l_XXX
+#define strtoull_l strtoull_l_XXX
+
+#include <stdlib/strtoul_l.c>
+
+#undef ____strtoull_l_internal
+#undef __strtoull_l
+#undef strtoull_l
+strong_alias (____strtoul_l_internal, ____strtoull_l_internal)
+libc_hidden_ver (____strtoul_l_internal, ____strtoull_l_internal)
+weak_alias (__strtoul_l, __strtoull_l)
+weak_alias (__strtoul_l, strtoull_l)