From: Alejandro Colomar Date: Tue, 19 Aug 2025 16:24:01 +0000 (+0200) Subject: man/man2/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d066f79ac04b6b7fd79bca7d3ec0c298ee9ad5e;p=thirdparty%2Fman-pages.git man/man2/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters Fixes: d2c2db8830f8 (2025-03-14; "man/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters") Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/recvmmsg.2 b/man/man2/recvmmsg.2 index b7d350aba..4a38dd850 100644 --- a/man/man2/recvmmsg.2 +++ b/man/man2/recvmmsg.2 @@ -18,8 +18,9 @@ Standard C library .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include .P -.BI "int recvmmsg(int " sockfd \ -", struct mmsghdr " msgvec [. n "], unsigned int " n , +.BR "int recvmmsg(" "unsigned int n;" +.BI " int " sockfd \ +", struct mmsghdr " msgvec [ n "], unsigned int " n , .BI " int " flags ", struct timespec *" timeout ");" .fi .SH DESCRIPTION diff --git a/man/man2/sendmmsg.2 b/man/man2/sendmmsg.2 index 882058fe4..8f6e0ccf1 100644 --- a/man/man2/sendmmsg.2 +++ b/man/man2/sendmmsg.2 @@ -13,8 +13,9 @@ Standard C library .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include .P -.BI "int sendmmsg(int " sockfd \ -", struct mmsghdr " msgvec [. n "], unsigned int " n , +.BR "int sendmmsg(" "unsigned int n;" +.BI " int " sockfd \ +", struct mmsghdr " msgvec [ n "], unsigned int " n , .BI " int " flags ");" .fi .SH DESCRIPTION