From 7d963022257b4c1b444d0480e79e50513ec1315f Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 5 Nov 1997 03:08:06 +0000 Subject: [PATCH] * fixincludes: Fix "hypot" prototype in NeXT math.h. From-SVN: r16337 --- gcc/ChangeLog | 2 ++ gcc/fixincludes | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 240c7c1c6480..f9aa9ee5a958 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com) + * fixincludes: Fix "hypot" prototype in NeXT math.h. + * Makefile.in (USE_ALLOCA): Always include alloca.o. (USE_HOST_ALLOCA): Likewise. diff --git a/gcc/fixincludes b/gcc/fixincludes index 33ef8add15ba..2a41c8d568fb 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -1499,6 +1499,7 @@ if [ -r ${LIB}/$file ]; then sed -e '/^extern.*double.*__const__.*sqrt(/s/__const__//' \ -e '/^extern.*double.*__const__.*fabs(/s/__const__//' \ -e '/^extern.*double.*__const__.*cos(/s/__const__//' \ + -e '/^extern.*double.*__const__.*hypot(/s/__const__//' \ -e '/^extern.*double.*__const__.*sin(/s/__const__//' ${LIB}/$file > ${LIB}/${file}.sed rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file if cmp $file ${LIB}/$file >/dev/null 2>&1; then -- 2.47.2