mapi: Move mapi_func typedef to entry.h.

Make it clear that entry.h does not depend on stub.h.
4 files changed