diff options
author | DJ Delorie <dj@redhat.com> | 2003-04-15 03:53:53 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2003-04-15 03:53:53 +0000 |
commit | 7ec2fc6f764fef9000cc768516df04035c85ebac (patch) | |
tree | b85799f938b5659b5ce403f577ee4d4403321f53 /libiberty/copysign.c | |
parent | eec539c7798006fabf0ceeeac3e64593daed85a7 (diff) | |
download | gdb-7ec2fc6f764fef9000cc768516df04035c85ebac.zip gdb-7ec2fc6f764fef9000cc768516df04035c85ebac.tar.gz gdb-7ec2fc6f764fef9000cc768516df04035c85ebac.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/copysign.c')
-rw-r--r-- | libiberty/copysign.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libiberty/copysign.c b/libiberty/copysign.c index 5c48a54..d288be2 100644 --- a/libiberty/copysign.c +++ b/libiberty/copysign.c @@ -131,7 +131,9 @@ typedef union #if defined(__IEEE_BIG_ENDIAN) || defined(__IEEE_LITTLE_ENDIAN) -double DEFUN(copysign, (x, y), double x AND double y) +double +copysign (x, y) + double x, y; { __ieee_double_shape_type a,b; b.value = y; @@ -142,7 +144,9 @@ double DEFUN(copysign, (x, y), double x AND double y) #else -double DEFUN(copysign, (x, y), double x AND double y) +double +copysign (x, y) + double x, y; { if ((x < 0 && y > 0) || (x > 0 && y < 0)) return -x; |