Fix warnings about missing prototypes.