aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-11-17 19:15:24 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-11-17 19:15:24 -0500
commit00b14c22f0c421882331927409701623b5167136 (patch)
tree36a631f7ac9116b12345275b295be00204bf9eaf /gcc
parent9d3a34d458a1873ea4d3302ed517631d149de6ef (diff)
downloadgcc-00b14c22f0c421882331927409701623b5167136.zip
gcc-00b14c22f0c421882331927409701623b5167136.tar.gz
gcc-00b14c22f0c421882331927409701623b5167136.tar.bz2
(math.h): Add missing quoting of `*' when fixing prototype of `sqr'.
From-SVN: r6111
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index f4ae5e6..c1b84cc 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -1080,8 +1080,8 @@ if [ -r ${LIB}/$file ]; then
sed -e 's@atof( char \*__nptr );@atof( const char *__nptr );@' \
-e 's@inline int abs(int d) { return (d>0)?d:-d; }@@' \
-e 's@inline double abs(double d) { return fabs(d); }@@' \
- -e 's@inline int sqr(int x) {return(x*x);} /* For AT&T compatibility */@@' \
- -e 's@inline double sqr(double x) {return(x*x);}@@' \
+ -e 's@inline int sqr(int x) {return(x\*x);} /\* For AT&T compatibility \*/@@' \
+ -e 's@inline double sqr(double x) {return(x\*x);}@@' \
${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