From: Richard Stallman Date: Mon, 30 Mar 1992 01:50:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25f75d8a319356351f9133b6bf31167cfc248d30;p=gcc.git *** empty log message *** From-SVN: r630 --- 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