]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/makecontext.3: SYNOPSIS: Add ellipsis to function type
authorAlejandro Colomar <alx@kernel.org>
Fri, 13 Dec 2024 12:02:06 +0000 (13:02 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 13 Dec 2024 12:29:59 +0000 (13:29 +0100)
The old syntax with empty parentheses has been removed from the language
in C23.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/makecontext.3

index c87c47d0eb13e1545b0ee868c47cce5e9620ff6c..24cf78d7053c03e457edffa9ac71c91271c35c94 100644 (file)
@@ -16,10 +16,10 @@ Standard C library
 .nf
 .B #include <ucontext.h>
 .P
-.BI "void makecontext(ucontext_t *" ucp ", void (*" func ")(), int " argc \
-", ...);"
+.BI "void makecontext(ucontext_t *" ucp ", void (*" func ")(int " arg0 ", ...),"
+.BI "                 int " argc ", ...);"
 .BI "int swapcontext(ucontext_t *restrict " oucp ,
-.BI "                const ucontext_t *restrict " ucp );
+.BI "                 const ucontext_t *restrict " ucp );
 .fi
 .SH DESCRIPTION
 In a System V-like environment, one has the type