diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-22 15:24:17 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-22 15:24:17 -0500 |
commit | b638f96a7607a279d5fd9b14fb49e02fa5151b5f (patch) | |
tree | eb07baecbd8db75f948e2d8eea5109ff5fe68ce0 /math/w_jn.c | |
parent | 0dacd7a3b9401f7eb7160cf79231a4573773c5da (diff) | |
download | glibc-b638f96a7607a279d5fd9b14fb49e02fa5151b5f.zip glibc-b638f96a7607a279d5fd9b14fb49e02fa5151b5f.tar.gz glibc-b638f96a7607a279d5fd9b14fb49e02fa5151b5f.tar.bz2 |
Fix namespace conformance issue with Bessel functions.
[BZ #17747]
The y0/y1/yn and j0/j1/jn functions provided a strong_alias
to the "l"-suffixed variants when no long double support is
being compiled. This breaks namespace conformance when the
basename versions conform but the l-suffixed ones don't.
Fixed by making them weak aliases instead.
Diffstat (limited to 'math/w_jn.c')
-rw-r--r-- | math/w_jn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_jn.c b/math/w_jn.c index 993b33b..56bd280 100644 --- a/math/w_jn.c +++ b/math/w_jn.c @@ -33,7 +33,7 @@ jn (int n, double x) return __ieee754_jn (n, x); } #ifdef NO_LONG_DOUBLE -strong_alias (jn, jnl) +weak_alias (jn, jnl) #endif @@ -64,5 +64,5 @@ yn (int n, double x) return __ieee754_yn (n, x); } #ifdef NO_LONG_DOUBLE -strong_alias (yn, ynl) +weak_alias (yn, ynl) #endif |