stricter typing of function pointers for makecontext()