Fix incorrect function prototypes.