Fix compiler warnings with -Wall -Wstrict-prototypes.