summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-08 14:06:07 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-08 14:06:07 +0000
commitc6a737210ae990bc8352fd49f155c1ea1e8c07a4 (patch)
tree59c2270bca682c44b5a4b7ad76dc1fcde15f8dd2 /libc
parent4e885757e8934ceb715c6092e9efd3a6ff395086 (diff)
- Fix strtol*() with xlocale (on e.g. x86_64) (closes #2544)
Diffstat (limited to 'libc')
-rw-r--r--libc/stdlib/stdlib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c
index 68796656a..d72b80941 100644
--- a/libc/stdlib/stdlib.c
+++ b/libc/stdlib/stdlib.c
@@ -65,7 +65,7 @@
#ifdef L_wcstoul
#define wcstoull __ignore_wcstoull
#endif
-#ifdef strtol_l
+#ifdef L_strtol_l
#define strtoll_l __ignore_strtoll_l
#endif
#ifdef L_strtoul_l
@@ -344,7 +344,7 @@ strong_alias(strtol,strtoimax)
#else
#undef strtoll
#endif
-extern __typeof(strtol) __XL_NPP(strtoll);
+extern __typeof(__XL_NPP(strtol)) __XL_NPP(strtoll);
libc_hidden_proto(__XL_NPP(strtoll))
strong_alias(__XL_NPP(strtol),__XL_NPP(strtoll))
libc_hidden_def(__XL_NPP(strtoll))
@@ -397,7 +397,7 @@ strong_alias(strtoul,strtoumax)
#else
#undef strtoull
#endif
-extern __typeof(strtoul) __XL_NPP(strtoull);
+extern __typeof(__XL_NPP(strtoul)) __XL_NPP(strtoull);
libc_hidden_proto(__XL_NPP(strtoull))
strong_alias(__XL_NPP(strtoul),__XL_NPP(strtoull))
libc_hidden_def(__XL_NPP(strtoull))
@@ -1090,7 +1090,7 @@ strong_alias(wcstol,wcstoimax)
#else
#undef wcstoll
#endif
-extern __typeof(wcstol) __XL_NPP(wcstoll);
+extern __typeof(__XL_NPP(wcstol)) __XL_NPP(wcstoll);
libc_hidden_proto(__XL_NPP(wcstoll))
strong_alias(__XL_NPP(wcstol),__XL_NPP(wcstoll))
libc_hidden_def(__XL_NPP(wcstoll))
@@ -1143,7 +1143,7 @@ strong_alias(wcstoul,wcstoumax)
#else
#undef wcstoull
#endif
-extern __typeof(wcstoul) __XL_NPP(wcstoull);
+extern __typeof(__XL_NPP(wcstoul)) __XL_NPP(wcstoull);
libc_hidden_proto(__XL_NPP(wcstoull))
strong_alias(__XL_NPP(wcstoul),__XL_NPP(wcstoull))
libc_hidden_def(__XL_NPP(wcstoull))