From 25f75d8a319356351f9133b6bf31167cfc248d30 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 30 Mar 1992 01:50:51 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r630 --- gcc/fixincludes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/fixincludes b/gcc/fixincludes index 413eefef5d4..33be324bbb7 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 -- 2.30.2