Fixed compilation warning

"warning: function declaration isn't a prototype"
Merge pull request #10 from saghul/prototype-warning

Fixed compilation warning