commit | a81eb4ca631be00b828e306331aff50b91180557 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Fri Nov 04 18:10:30 2005 +0000 |
committer | rsc <devnull@localhost> | Fri Nov 04 18:10:30 2005 +0000 |
tree | d9fe92b53ea2c26e9701c7e295a936bbf1a80f4d | |
parent | 33a102fc287a36969db773a4c55f182081a291e1 [diff] |
try again
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 5be4567..a658903 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h
@@ -43,8 +43,10 @@ #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;