diff options
author | rsc <devnull@localhost> | 2005-11-03 00:48:14 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-11-03 00:48:14 +0000 |
commit | 2494fc9fa05582e6b9e8d96b90899ef6a5e55adb (patch) | |
tree | 90b0a5132a4bb29ba2cdbadffa49c49cecc350a1 /src/libthread/Linux.c | |
parent | 9aa463c541d03ce5389e7015b9a19358a5796e63 (diff) | |
download | plan9port-2494fc9fa05582e6b9e8d96b90899ef6a5e55adb.tar.gz plan9port-2494fc9fa05582e6b9e8d96b90899ef6a5e55adb.tar.bz2 plan9port-2494fc9fa05582e6b9e8d96b90899ef6a5e55adb.zip |
arm
Diffstat (limited to 'src/libthread/Linux.c')
-rw-r--r-- | src/libthread/Linux.c | 13 |
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) |