Add prototypes for functions

The Arduino IDE magically adds prototypes for functions but I'm compiling from the command line.