From a81eb4ca631be00b828e306331aff50b91180557 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 4 Nov 2005 18:10:30 +0000 Subject: try again --- src/libthread/threadimpl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libthread') 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; -- cgit v1.2.3