Fixed incorrect function prototype.