aboutsummaryrefslogtreecommitdiff
path: root/libiberty/copysign.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/copysign.c')
-rw-r--r--libiberty/copysign.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libiberty/copysign.c b/libiberty/copysign.c
index d288be239eb..6793f22e8cc 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;