From: Alejandro Colomar Date: Sat, 12 Jun 2021 08:31:22 +0000 (+0200) Subject: pipe.2: SYNOPSIS: Fix incorrect prototype X-Git-Tag: man-pages-5.12~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52b92a2ad7058399ae36daefa66bbdcdf7f68d72;p=thirdparty%2Fman-pages.git pipe.2: SYNOPSIS: Fix incorrect prototype A function declarator with empty parentheses, which is not a prototype, is an obsolescent feature of C (See C17 6.11.6.1), and doesn't mean 0 parameters, but instead that no information about the parameters is provided (See C17 6.5.2.2). Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man2/pipe.2 b/man2/pipe.2 index 93fbd36f2d..41a482f379 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -56,7 +56,7 @@ pipe, pipe2 \- create pipe .B struct fd_pair { .B " long fd[2];" .B "};" -.B struct fd_pair pipe(); +.B struct fd_pair pipe(void); .fi .SH DESCRIPTION .BR pipe ()