Fix -Wstrict-prototypes warnings

Recent GCC generates "warning: function declaration isn't a prototype" when
building with -Wstrict-prototypes.
Merge pull request #85 from gdesmott/warnings

Fix -Wstrict-prototypes warnings