Fixed compilation warning

"warning: function declaration isn't a prototype"