From: Brendan Kehoe Date: Fri, 10 Mar 1995 02:10:40 +0000 (+0000) Subject: * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old X-Git-Tag: glibc-2.16-ports-before-merge~3940 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ef37b04541d809323a6c5b3298ed161d4063f23;p=thirdparty%2Fglibc.git * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old __CONSTVALUE by adding forward decl first with the const attribute. --- diff --git a/sysdeps/alpha/__math.h b/sysdeps/alpha/__math.h index b06f716c50b..06e43dbf047 100644 --- a/sysdeps/alpha/__math.h +++ b/sysdeps/alpha/__math.h @@ -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));