The second argument to swapcontext() is const. Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> --- man3/makecontext.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/makecontext.3 b/man3/makecontext.3 index 1e0e991..e57060d 100644 --- a/man3/makecontext.3 +++ b/man3/makecontext.3 @@ -34,7 +34,7 @@ makecontext, swapcontext \- manipulate user context .BI "void makecontext(ucontext_t *" ucp ", void (*" func )(), .BI "int " argc ", ...);" .sp -.BI "int swapcontext(ucontext_t *" oucp ", ucontext_t *" ucp ); +.BI "int swapcontext(ucontext_t *" oucp ", const ucontext_t *" ucp ); .SH DESCRIPTION In a System V-like environment, one has the type \fIucontext_t\fP defined in .I <ucontext.h> -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html