]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
fcntl.2: Remove unused include
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 4 Apr 2021 11:58:31 +0000 (13:58 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 5 Apr 2021 10:43:49 +0000 (12:43 +0200)
I couldn't find a reason for including <unistd.h>.  All the macros
used by fcntl() are defined in <fcntl.h>.  For comparison, FreeBSD
and OpenBSD don't specify <unistd.h> in their manual pages.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/fcntl.2

index de87eec1ff177b2125559237717976354f086173..7b5604e3a69918102d8abbb6c377627fced5c10a 100644 (file)
@@ -69,7 +69,6 @@
 fcntl \- manipulate file descriptor
 .SH SYNOPSIS
 .nf
-.B #include <unistd.h>
 .B #include <fcntl.h>
 .PP
 .BI "int fcntl(int " fd ", int " cmd ", ... /* " arg " */ );"