]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/get_mempolicy.2: SYNOPSIS: Use GNU fwd declaration of parameters for sizes...
authorAlejandro Colomar <alx@kernel.org>
Thu, 20 Mar 2025 22:13:35 +0000 (23:13 +0100)
committerAlejandro Colomar <alx@kernel.org>
Thu, 20 Mar 2025 22:13:44 +0000 (23:13 +0100)
I forgot to include this change in the global change applied recently.

Fixes: d2c2db8830f8 (2025-03-14; "man/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/get_mempolicy.2

index 526acc0c9a176c7092086c6c9a0ca1101855804a..bf41012d4bcdefc8138f5000a080fca5dac8fdec 100644 (file)
@@ -17,8 +17,9 @@ NUMA (Non-Uniform Memory Access) policy library
 .B "#include <numaif.h>"
 .nf
 .P
-.BI "long get_mempolicy(int *" mode ,
-.BI "                   unsigned long " nodemask [(. maxnode " + ULONG_WIDTH \- 1)"
+.BI "long get_mempolicy(unsigned long " maxnode ;
+.BI "                   int *" mode ,
+.BI "                   unsigned long " nodemask [( maxnode " + ULONG_WIDTH \- 1)"
 .B "                                          / ULONG_WIDTH],"
 .BI "                   unsigned long " maxnode ", void *" addr ,
 .BI "                   unsigned long " flags );