aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1997-02-27 17:12:40 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1997-02-27 17:12:40 +0000
commit26a20dde930c66742c39be06b97396d0a8fb0585 (patch)
treeed7df4d7db20e5ea07f15132e824a570acab243b /gcc
parenteea5dcb81d3c5ee7fead0eead8bd64469518693e (diff)
downloadgcc-26a20dde930c66742c39be06b97396d0a8fb0585.zip
gcc-26a20dde930c66742c39be06b97396d0a8fb0585.tar.gz
gcc-26a20dde930c66742c39be06b97396d0a8fb0585.tar.bz2
Remove more cases of __const__ from math.h for NeXT
From-SVN: r13680
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index abb5df6..be267c9 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