mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
* sysdeps/alpha/__math.h (__copysign): Use attribute instead of old
__CONSTVALUE by adding forward decl first with the const attribute.
This commit is contained in:
parent
77072f48a5
commit
9ef37b0454
@ -18,7 +18,9 @@ Cambridge, MA 02139, USA. */
|
||||
|
||||
#if defined (__GNUC__) && !defined (__NO_MATH_INLINES)
|
||||
|
||||
extern __inline __CONSTVALUE double
|
||||
extern __inline double __copysign (double __x, double __y) __attribute__ ((__const__));
|
||||
|
||||
extern __inline double
|
||||
__copysign (double __x, double __y)
|
||||
{
|
||||
__asm ("cpys %1, %2, %0" : "=f" (__x) : "f" (__y), "f" (__x));
|
||||
|
Loading…
Reference in New Issue
Block a user