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' \
+ -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' \
-e '/typedef[ a-zA-Z_]*[ ]size_t[ ]*;/i\
#ifndef _GCC_SIZE_T\
#define _GCC_SIZE_T