Remove more cases of __const__ from math.h for NeXT

From-SVN: r13680
This commit is contained in:
Ian Lance Taylor 1997-02-27 17:12:40 +00:00
parent eea5dcb81d
commit 26a20dde93
1 changed files with 3 additions and 1 deletions

View File

@ -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