From 26a20dde930c66742c39be06b97396d0a8fb0585 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 27 Feb 1997 17:12:40 +0000 Subject: [PATCH] Remove more cases of __const__ from math.h for NeXT From-SVN: r13680 --- gcc/fixincludes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/fixincludes b/gcc/fixincludes index abb5df673ed..be267c9ebb2 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -1483,7 +1483,9 @@ if [ -r $file ] && [ ! -r ${LIB}/$file ]; then fi if [ -r ${LIB}/$file ]; then echo Fixing $file - sed -e '/^extern.*double.*__const__.*cos(/s/__const__//' \ + 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__.*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