[21/39] mknod.2: Remove unused includes

Message ID 20210510175546.28445-22-alx.manpages@gmail.com
State New
Headers show
Series
  • man2: SYNOPSIS: Fix headers, use syscall(), and other fixes
Related show

Commit Message

Carlos O'Donell via Libc-alpha May 10, 2021, 5:55 p.m.
All of the constants used by mknod() are dfined in <sys/stat.h>.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

---
 man2/mknod.2 | 2 --
 1 file changed, 2 deletions(-)

-- 
2.31.1

Patch

diff --git a/man2/mknod.2 b/man2/mknod.2
index f20d4aa66..1de3cd027 100644
--- a/man2/mknod.2
+++ b/man2/mknod.2
@@ -18,8 +18,6 @@  mknod, mknodat \- create a special or ordinary file
 .SH SYNOPSIS
 .nf
 .B #include <sys/stat.h>
-.B #include <fcntl.h>
-.B #include <unistd.h>
 .PP
 .BI "int mknod(const char *" pathname ", mode_t " mode ", dev_t " dev );
 .PP