Fix error: function declaration isn’t a prototype [-Werror=strict-prototypes]