Fix some prototype warnings