about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/wordsize-64/strtol_l.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/wordsize-64/strtol_l.c')
-rw-r--r--REORG.TODO/sysdeps/wordsize-64/strtol_l.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/wordsize-64/strtol_l.c b/REORG.TODO/sysdeps/wordsize-64/strtol_l.c
new file mode 100644
index 0000000000..b2cd102add
--- /dev/null
+++ b/REORG.TODO/sysdeps/wordsize-64/strtol_l.c
@@ -0,0 +1,14 @@
+/* We have to irritate the compiler a bit.  */
+#define ____strtoll_l_internal ____strtoll_l_internal_XXX
+#define __strtoll_l __strtoll_l_XXX
+#define strtoll_l strtoll_l_XXX
+
+#include <stdlib/strtol_l.c>
+
+#undef ____strtoll_l_internal
+#undef __strtoll_l
+#undef strtoll_l
+strong_alias (____strtol_l_internal, ____strtoll_l_internal)
+libc_hidden_ver (____strtol_l_internal, ____strtoll_l_internal)
+weak_alias (__strtol_l, __strtoll_l)
+weak_alias (__strtol_l, strtoll_l)