[git commit future 1/1] s_scalbn.c: since we have strong_alias_untyped now, use it

Peter S. Mazinger ps.m at gmx.net
Wed Mar 16 19:20:32 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=1fd7409ce91b1789d415732bfab572f025ec24f4
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libm/s_scalbn.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/libm/s_scalbn.c b/libm/s_scalbn.c
index a3399b2..4d2005c 100644
--- a/libm/s_scalbn.c
+++ b/libm/s_scalbn.c
@@ -62,12 +62,7 @@ double scalbln(double x, long n)
 libm_hidden_def(scalbln)
 
 #if LONG_MAX == INT_MAX
-/* strong_alias(scalbln, scalbn) - "error: conflicting types for 'scalbn'"
- * because it tries to declare "typeof(scalbln) scalbn;"
- * which tries to give "long" parameter to scalbn.
- * Doing it by hand:
- */
-__typeof(scalbn) scalbn __attribute__((alias("scalbln")));
+strong_alias_untyped(scalbln,scalbn)
 #else
 double scalbn(double x, int n)
 {
-- 
1.7.3.4



More information about the uClibc-cvs mailing list