commit ac3d1298136013e210bd345a6afa366fd1d736da
parent a81eb4ca631be00b828e306331aff50b91180557
Author: rsc <devnull@localhost>
Date: Fri, 4 Nov 2005 19:00:17 +0000
const
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
@@ -44,7 +44,7 @@ extern pid_t rfork_thread(int, void*, int(*)(void*), void*);
#if defined(__arm__)
int getmcontext(mcontext_t*);
-void setmcontext(mcontext_t*);
+void setmcontext(const mcontext_t*);
#define setcontext(u) setmcontext(&(u)->uc_mcontext)
#define getcontext(u) getmcontext(&(u)->uc_mcontext)
#endif