diff options
author | rsc <devnull@localhost> | 2005-11-04 18:10:30 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-11-04 18:10:30 +0000 |
commit | a81eb4ca631be00b828e306331aff50b91180557 (patch) | |
tree | d9fe92b53ea2c26e9701c7e295a936bbf1a80f4d | |
parent | 33a102fc287a36969db773a4c55f182081a291e1 (diff) | |
download | plan9port-a81eb4ca631be00b828e306331aff50b91180557.tar.gz plan9port-a81eb4ca631be00b828e306331aff50b91180557.tar.bz2 plan9port-a81eb4ca631be00b828e306331aff50b91180557.zip |
try again
-rw-r--r-- | src/libthread/threadimpl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 5be45677..a658903f 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -43,8 +43,10 @@ extern pid_t rfork_thread(int, void*, int(*)(void*), void*); #endif #if defined(__arm__) -int _getmcontext(mcontext_t*); -void _setmcontext(mcontext_t*); +int getmcontext(mcontext_t*); +void setmcontext(mcontext_t*); +#define setcontext(u) setmcontext(&(u)->uc_mcontext) +#define getcontext(u) getmcontext(&(u)->uc_mcontext) #endif typedef struct Context Context; |