some functions were missing prototypes. Add them
Merge pull request #235 from DRMacIver/prototypes

some functions were missing proper prototypes