Commit 6aaa1bc4 authored by Alejandro Colomar's avatar Alejandro Colomar Committed by Michael Kerrisk
Browse files

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: default avatarAlejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: default avatarMichael Kerrisk <mtk.manpages@gmail.com>
parent 75ec6343
......@@ -29,8 +29,6 @@
userfaultfd \- create a file descriptor for handling page faults in user space
.SH SYNOPSIS
.nf
.B #include <sys/types.h>
.B #include <linux/userfaultfd.h>
.PP
.BI "int userfaultfd(int " flags );
.fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment