Fix bad identified by gentle level of Perl::Critic
Remove function prototype