This commit is contained in:
rsc 2005-11-03 00:48:14 +00:00
parent 9aa463c541
commit 2494fc9fa0
2 changed files with 6 additions and 17 deletions

View file

@ -455,19 +455,6 @@ makecontext(ucontext_t *uc, void (*fn)(void), int argc, ...)
uc->uc_mcontext.gregs[14] = (uint)fn;
}
int
getcontext(ucontext_t *uc)
{
return getmcontext(&uc->uc_mcontext);
}
int
setcontext(const ucontext_t *uc)
{
setmcontext(&uc->uc_mcontext);
return 0; /* not reached */
}
int
swapcontext(ucontext_t *oucp, const ucontext_t *ucp)
{