Commit 25f75d8a by Richard Stallman

*** empty log message ***

From-SVN: r630
parent 0007bde5
...@@ -455,6 +455,10 @@ fi ...@@ -455,6 +455,10 @@ fi
if [ -r ${LIB}/$file ]; then if [ -r ${LIB}/$file ]; then
echo Fixing $file echo Fixing $file
sed -e 's/int abort/void abort/g' \ 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 -e 's/int exit/void exit/g' ${LIB}/$file > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
if cmp $file ${LIB}/$file >/dev/null 2>&1; then if cmp $file ${LIB}/$file >/dev/null 2>&1; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment