From 9334f9c6cd576128ec4fc891b5fcf267a7fca7fb Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Sun, 27 Mar 2005 05:28:42 +0000 Subject: merge from gcc --- libiberty/copysign.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libiberty/copysign.c') diff --git a/libiberty/copysign.c b/libiberty/copysign.c index d288be2..6793f22 100644 --- a/libiberty/copysign.c +++ b/libiberty/copysign.c @@ -132,8 +132,7 @@ typedef union #if defined(__IEEE_BIG_ENDIAN) || defined(__IEEE_LITTLE_ENDIAN) double -copysign (x, y) - double x, y; +copysign (double x, double y) { __ieee_double_shape_type a,b; b.value = y; @@ -145,8 +144,7 @@ copysign (x, y) #else double -copysign (x, y) - double x, y; +copysign (double x, double y) { if ((x < 0 && y > 0) || (x > 0 && y < 0)) return -x; -- cgit v1.1