From: Jeffrey A Law Date: Wed, 5 Nov 1997 03:08:06 +0000 (+0000) Subject: * fixincludes: Fix "hypot" prototype in NeXT math.h. X-Git-Tag: releases/egcs-1.0.0~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d963022257b4c1b444d0480e79e50513ec1315f;p=thirdparty%2Fgcc.git * fixincludes: Fix "hypot" prototype in NeXT math.h. From-SVN: r16337 --- 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