[PATCH 21/39] mknod.2: Remove unused includes
Alejandro Colomar
alx.manpages@gmail.com
Mon May 10 17:55:30 GMT 2021
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(-)
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
--
2.31.1
More information about the Libc-alpha
mailing list