Added more prototype definitions

This was crashing on a 64 bit Mac.  Segmentation fault: 11
The reason is that void * is no longer the same size as int (which is the default)