correct prototypes
next C compiler cleanup for 64-bit