aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-06-12 10:31:44 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-06-20 14:43:43 +1200
commitbe26e6997a86654d3af1585ba69486e8af8491bc (patch)
treebed065a313b08f722175c474fae7202eb740e23c
parent3afef2975a21aab6261aa1a6758f3d5d92d2641b (diff)
downloadman-pages-be26e6997a86654d3af1585ba69486e8af8491bc.tar.gz
wait.2: Remove <sys/types.h>
The types that need <sys/types.h> are better documented in system_data_types(7). Let's keep only the includes for the prototypes and the constants. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/wait.21
1 files changed, 0 insertions, 1 deletions
diff --git a/man2/wait.2 b/man2/wait.2
index 760f02f223..5ae955b3fd 100644
--- a/man2/wait.2
+++ b/man2/wait.2
@@ -51,7 +51,6 @@
wait, waitpid, waitid \- wait for process to change state
.SH SYNOPSIS
.nf
-.B #include <sys/types.h>
.B #include <sys/wait.h>
.PP
.BI "pid_t wait(int *" "wstatus" );