X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=libiberty%2Fcopysign.c;h=6793f22e8ccab04a257a0d26958ba5a1983dd0c2;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=5c48a5422eba5a820ea4c3c09a7a0f8f8d43c03c;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libiberty/copysign.c b/libiberty/copysign.c index 5c48a542..6793f22e 100644 --- a/libiberty/copysign.c +++ b/libiberty/copysign.c @@ -131,7 +131,8 @@ typedef union #if defined(__IEEE_BIG_ENDIAN) || defined(__IEEE_LITTLE_ENDIAN) -double DEFUN(copysign, (x, y), double x AND double y) +double +copysign (double x, double y) { __ieee_double_shape_type a,b; b.value = y; @@ -142,7 +143,8 @@ double DEFUN(copysign, (x, y), double x AND double y) #else -double DEFUN(copysign, (x, y), double x AND double y) +double +copysign (double x, double y) { if ((x < 0 && y > 0) || (x > 0 && y < 0)) return -x;