From: Jeffrey A Law Date: Wed, 5 Nov 1997 03:09:18 +0000 (+0000) Subject: * fixincludes: Fix "hypot" prototype in NeXT math.h. X-Git-Tag: releases/libf2c-0.5.21~634 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ed18aebe9c37b36249b9b3d8d168ca072ffcedf;p=thirdparty%2Fgcc.git * fixincludes: Fix "hypot" prototype in NeXT math.h. From-SVN: r16338 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb20f579cb88..3e73e87a5434 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 dfe50d592e24..af03dfb83a9d 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