mirror of https://github.com/mkerrisk/man-pages
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 <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7b7831c24f
commit
52b92a2ad7
|
@ -56,7 +56,7 @@ pipe, pipe2 \- create pipe
|
||||||
.B struct fd_pair {
|
.B struct fd_pair {
|
||||||
.B " long fd[2];"
|
.B " long fd[2];"
|
||||||
.B "};"
|
.B "};"
|
||||||
.B struct fd_pair pipe();
|
.B struct fd_pair pipe(void);
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR pipe ()
|
.BR pipe ()
|
||||||
|
|
Loading…
Reference in New Issue