diff options
Diffstat (limited to 'src/libthread/FreeBSD.c')
-rw-r--r-- | src/libthread/FreeBSD.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libthread/FreeBSD.c b/src/libthread/FreeBSD.c index 33fd3113..5c282465 100644 --- a/src/libthread/FreeBSD.c +++ b/src/libthread/FreeBSD.c @@ -18,21 +18,6 @@ makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...) ucp->uc_mcontext.mc_esp = (int)sp; } -extern int getmcontext(mcontext_t*); -extern int setmcontext(mcontext_t*); - -int -getcontext(ucontext_t *uc) -{ - return getmcontext(&uc->uc_mcontext); -} - -void -setcontext(ucontext_t *uc) -{ - setmcontext(&uc->uc_mcontext); -} - int swapcontext(ucontext_t *oucp, ucontext_t *ucp) { |