mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
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.
This commit is contained in:
@ -33,7 +33,7 @@ j1 (double x)
|
||||
return __ieee754_j1 (x);
|
||||
}
|
||||
#ifdef NO_LONG_DOUBLE
|
||||
strong_alias (j1, j1l)
|
||||
weak_alias (j1, j1l)
|
||||
#endif
|
||||
|
||||
|
||||
@ -64,5 +64,5 @@ y1 (double x)
|
||||
return __ieee754_y1 (x);
|
||||
}
|
||||
#ifdef NO_LONG_DOUBLE
|
||||
strong_alias (y1, y1l)
|
||||
weak_alias (y1, y1l)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user