*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Mon, 30 Mar 1992 01:50:51 +0000 (01:50 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 30 Mar 1992 01:50:51 +0000 (01:50 +0000)
From-SVN: r630

gcc/fixincludes

index 413eefef5d419625357cdaaaed7f5354f45101d1..33be324bbb7f2fa8f98a412668edb855dcdee67b 100755 (executable)
@@ -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