Fix arduino IDE build

Added prototypes for static functions.