mirror of https://github.com/mkerrisk/man-pages
userfaultfd.2: Remove unused includes
<sys/types.h> makes no sense for a function that only uses 'int'. The flags used by this function are provided by <fcntl.h> (or others), but not by <linux/userfaultfd.h>. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
75ec634383
commit
6aaa1bc40b
|
@ -29,8 +29,6 @@
|
||||||
userfaultfd \- create a file descriptor for handling page faults in user space
|
userfaultfd \- create a file descriptor for handling page faults in user space
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/types.h>
|
|
||||||
.B #include <linux/userfaultfd.h>
|
|
||||||
.PP
|
.PP
|
||||||
.BI "int userfaultfd(int " flags );
|
.BI "int userfaultfd(int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
|
Loading…
Reference in New Issue