PERL-318 eliminate implicit function declaration warnings