aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-02-09 13:01:17 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-02-09 13:27:59 +0100
commit055811a99ef0b74a0da9d04b2115481d3ca14eba (patch)
tree122a78da8ea63e882ab8fc2d16a79de4bf9678a6
parentba50f49c69e28433baefca7d2268144fbc761978 (diff)
downloadman-pages-055811a99ef0b74a0da9d04b2115481d3ca14eba.tar.gz
stat.2: Remove <unistd.h> from synopsis
There seems to be no reason <unistd.h> is shown here, so remove it. Signed-off-by: Jonathan Wakely <jwakely@redhat.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/stat.21
1 files changed, 0 insertions, 1 deletions
diff --git a/man2/stat.2 b/man2/stat.2
index 734c74b040..fed926715a 100644
--- a/man2/stat.2
+++ b/man2/stat.2
@@ -43,7 +43,6 @@ stat, fstat, lstat, fstatat \- get file status
.nf
.B #include <sys/types.h>
.B #include <sys/stat.h>
-.B #include <unistd.h>
.PP
.BI "int stat(const char *" pathname ", struct stat *" statbuf );
.BI "int fstat(int " fd ", struct stat *" statbuf );