From 2494fc9fa05582e6b9e8d96b90899ef6a5e55adb Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 3 Nov 2005 00:48:14 +0000 Subject: arm --- src/libthread/Linux.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/libthread/Linux.c') diff --git a/src/libthread/Linux.c b/src/libthread/Linux.c index 73cb28e0..5f7f862e 100644 --- a/src/libthread/Linux.c +++ b/src/libthread/Linux.c @@ -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) { -- cgit v1.2.3