Fix missing argument and function prototypes.

Not sure how I missed these in previous commit.