aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-09-09 21:59:56 +0200
committerAlejandro Colomar <alx@kernel.org>2025-09-09 22:00:32 +0200
commit1d0de88ebe324b704c8584b8ea9472bb3027478c (patch)
treebb0acfb8b5b45e3c49a3cd1b46e0d765e2b6fda9 /man/man3
parent17fa7e849eb524eeda51beadc9924527358722bb (diff)
downloadman-pages-1d0de88ebe324b704c8584b8ea9472bb3027478c.tar.gz
man/: EXAMPLES: Fix includes
Reported-by: iwyu(1) Fixes: 0e7a39804a3c (2025-08-20; "man/: EXAMPLES: Use err(3) and errc(3bsd) instead of similar macros") Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/pthread_cancel.31
-rw-r--r--man/man3/pthread_create.31
2 files changed, 0 insertions, 2 deletions
diff --git a/man/man3/pthread_cancel.3 b/man/man3/pthread_cancel.3
index c89c8ca483..474b3daa77 100644
--- a/man/man3/pthread_cancel.3
+++ b/man/man3/pthread_cancel.3
@@ -149,7 +149,6 @@ main(): thread was canceled
.\" SRC BEGIN (pthread_cancel.c)
.EX
#include <err.h>
-#include <errno.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/man/man3/pthread_create.3 b/man/man3/pthread_create.3
index 8c9f58edd1..7a940c10a4 100644
--- a/man/man3/pthread_create.3
+++ b/man/man3/pthread_create.3
@@ -252,7 +252,6 @@ Joined with thread 3; returned value was SERVUS
.EX
#include <ctype.h>
#include <err.h>
-#include <errno.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>