From 83f85421ab7b9f97b4152e6174ba2b262d098e67 Mon Sep 17 00:00:00 2001 From: sayle Date: Tue, 15 Apr 2003 03:35:47 +0000 Subject: * argv.c: Use ANSI_PROTOTYPES instead of __STDC__. * memchr.c: Likewise. * strcasecmp.c: Likewise. * strncasecmp.c: Likewise. * strncmp.c: Likewise. * xatexit.c: Likewise. * xmalloc.c: Likewise. * copysign.c: Use traditional function declaration instead of DEFUN. * sigsetmask.c: Likewise. * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN. * memset.c: Likewise. * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy. * memmove.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65619 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/copysign.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libiberty/copysign.c') diff --git a/libiberty/copysign.c b/libiberty/copysign.c index 5c48a5422eb..d288be239eb 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; -- cgit v1.2.1