-Wstrict-prototypes warning fixes