Fix -Wstrict-prototypes warnings

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

Fix -Wstrict-prototypes warnings