aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-03-30 01:50:51 +0000
committerRichard Stallman <rms@gnu.org>1992-03-30 01:50:51 +0000
commit25f75d8a319356351f9133b6bf31167cfc248d30 (patch)
tree54ae67a37e0b4702f74bb5f61408f4c1f642de5b /gcc
parent0007bde5b532215e685d791edf9b5bd06ba75fdd (diff)
downloadgcc-25f75d8a319356351f9133b6bf31167cfc248d30.zip
gcc-25f75d8a319356351f9133b6bf31167cfc248d30.tar.gz
gcc-25f75d8a319356351f9133b6bf31167cfc248d30.tar.bz2
*** empty log message ***
From-SVN: r630
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 413eefe..33be324 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -455,6 +455,10 @@ fi
if [ -r ${LIB}/$file ]; then
echo Fixing $file
sed -e 's/int abort/void abort/g' \
+ -e 's/int free/void free/g' \
+ -e 's/char \* calloc/void \* calloc/g' \
+ -e 's/char \* malloc/void \* malloc/g' \
+ -e 's/char \* realloc/void \* realloc/g' \
-e 's/int exit/void exit/g' ${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