From 3ed18aebe9c37b36249b9b3d8d168ca072ffcedf Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 5 Nov 1997 03:09:18 +0000 Subject: [PATCH] * fixincludes: Fix "hypot" prototype in NeXT math.h. From-SVN: r16338 --- gcc/ChangeLog | 2 ++ gcc/fixincludes | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb20f579cb8..3e73e87a543 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Tue Nov 4 18:49:42 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 dfe50d592e2..af03dfb83a9 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.30.2