summaryrefslogtreecommitdiff
path: root/libiberty/copysign.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/copysign.c')
-rw-r--r--libiberty/copysign.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libiberty/copysign.c b/libiberty/copysign.c
index 5c48a5422e..d288be239e 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;