From ac3d1298136013e210bd345a6afa366fd1d736da Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 4 Nov 2005 19:00:17 +0000 Subject: const --- src/libthread/threadimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libthread') diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index a658903f..33644657 100644 --- 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 -- cgit v1.2.3