aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/Linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/Linux.c')
-rw-r--r--src/libthread/Linux.c13
1 files changed, 0 insertions, 13 deletions
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
@@ -456,19 +456,6 @@ makecontext(ucontext_t *uc, void (*fn)(void), int argc, ...)
}
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)
{
if(getcontext(oucp) == 0)