(math.h): Keep declaration of abs on HPUX.
From-SVN: r9924
This commit is contained in:
parent
d09a75ae93
commit
ee3ac81d77
|
@ -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]*) {.*}@@' \
|
||||
|
|
Loading…
Reference in New Issue