Warnings fixes: more implicit function declarations.