aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-06-11 13:38:42 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-06-11 13:38:42 -0400
commitee3ac81d77130be7d1a9edd39507fe16d1a5514d (patch)
treee955dd12d55530053602fd6d7c70c06e39a697a7 /gcc
parentd09a75ae9318ed48fb2350b84fe886d9b8bb6b01 (diff)
downloadgcc-ee3ac81d77130be7d1a9edd39507fe16d1a5514d.zip
gcc-ee3ac81d77130be7d1a9edd39507fe16d1a5514d.tar.gz
gcc-ee3ac81d77130be7d1a9edd39507fe16d1a5514d.tar.bz2
(math.h): Keep declaration of abs on HPUX.
From-SVN: r9924
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index e4d6f0c..c5828e6 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]*) {.*}@@' \