Actually prototype the function declarations

I was kicking it old, old, incredibly old school and clar punished me appropriately with a deluge of warnings.