Fix -Wstrict-prototypes -Wmissing-prototypes warnings.