From 127b3c3596da5da5b40cbfb4554cb101a2299635 Mon Sep 17 00:00:00 2001 From: Brendan Kehoe Date: Fri, 10 Mar 1995 02:10:40 +0000 Subject: * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old __CONSTVALUE by adding forward decl first with the const attribute. * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old __CONSTVALUE by adding forward decl first with the const attribute. --- sysdeps/alpha/__math.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysdeps/alpha/__math.h') diff --git a/sysdeps/alpha/__math.h b/sysdeps/alpha/__math.h index b06f716c50..06e43dbf04 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)); -- cgit v1.2.3