(math.h): Keep declaration of abs on HPUX.

From-SVN: r9924
This commit is contained in:
Richard Kenner 1995-06-11 13:38:42 -04:00
parent d09a75ae93
commit ee3ac81d77
1 changed files with 1 additions and 1 deletions

View File

@ -1570,7 +1570,7 @@ fi
if [ -r ${LIB}/$file ]; then
echo Fixing $file, non-const arg
sed -e 's@atof(\([ ]*char[ ]*\*[^)]*\))@atof(const \1)@' \
-e 's@inline int abs(int [a-z][a-z]*) {.*}@@' \
-e 's@inline int abs(int [a-z][a-z]*) {.*}@extern "C" int abs(int);@' \
-e 's@inline double abs(double [a-z][a-z]*) {.*}@@' \
-e 's@inline int sqr(int [a-z][a-z]*) {.*}@@' \
-e 's@inline double sqr(double [a-z][a-z]*) {.*}@@' \