Fix typedef of pointer function.