mirror of https://github.com/mkerrisk/man-pages
vmsplice.2: Remove unneeded include
'struct iovec' is defined in <bits/types/struct_iovec.h>, which is included by <sys/io.h>, but it is also included by <bits/fcntl-linux.h>, which is in the end included by <fcntl.h>. Given that we already include <fcntl.h>, we don't need any more includes. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
96fd3196fa
commit
3afef2975a
|
@ -30,7 +30,6 @@ vmsplice \- splice user pages to/from a pipe
|
|||
.nf
|
||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.B #include <fcntl.h>
|
||||
.B #include <sys/uio.h>
|
||||
.PP
|
||||
.BI "ssize_t vmsplice(int " fd ", const struct iovec *" iov ,
|
||||
.BI " size_t " nr_segs ", unsigned int " flags );
|
||||
|
|
Loading…
Reference in New Issue