Fix incorrect function pointer typedef