projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0007bde
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Mon, 30 Mar 1992 01:50:51 +0000
(
01:50
+0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 30 Mar 1992 01:50:51 +0000
(
01:50
+0000)
From-SVN: r630
gcc/fixincludes
patch
|
blob
|
history
diff --git
a/gcc/fixincludes
b/gcc/fixincludes
index 413eefef5d419625357cdaaaed7f5354f45101d1..33be324bbb7f2fa8f98a412668edb855dcdee67b 100755
(executable)
--- 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