* 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.
This commit is contained in:
Brendan Kehoe 1995-03-10 02:10:40 +00:00
parent 134c123619
commit 127b3c3596
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
* sysdeps/alpha/__math.h (__copysign): Use attribute instead of old
__CONSTVALUE by adding forward decl first with the const attribute.
* configure.in: Match `osf*', not `osf1*'.
* configure: Likewise.
* sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.

View File

@ -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));