From ee3ac81d77130be7d1a9edd39507fe16d1a5514d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 11 Jun 1995 13:38:42 -0400 Subject: [PATCH] (math.h): Keep declaration of abs on HPUX. From-SVN: r9924 --- gcc/fixincludes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/fixincludes b/gcc/fixincludes index e4d6f0c32a1..c5828e6aa80 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -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]*) {.*}@@' \ -- 2.30.2