diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-16 21:15:16 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:26 +0200 |
commit | 83625362e00c955f7edea2ab7f97278b58de4c22 (patch) | |
tree | 590af75993aedaeca8a47e0e4f956e65e1b785c6 /libm | |
parent | bef4efb18c54f4b2285557a1b5a5a037f3dce019 (diff) |
s_scalbn.c: since we have strong_alias_untyped now, use it
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libm')
-rw-r--r-- | 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 a3399b257..4d2005c72 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) { |