[RFC,v3,04/17] arch_prctl.2: SYNOPSIS: Remove unused includes

Message ID 20210313192526.350200-5-alx.manpages@gmail.com
State Not applicable
Headers
Series [RFC] execve.2: SYNOPSIS: Document both glibc wrapper and kernel sycalls |

Commit Message

Alejandro Colomar March 13, 2021, 7:25 p.m. UTC
  AFAICS, there's no reason to include that.
All of the macros that this function uses
are already defined in the other headers.

Cc: glibc <libc-alpha@sourceware.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/arch_prctl.2 | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/man2/arch_prctl.2 b/man2/arch_prctl.2
index 8706cd1ec..d1b9e16f9 100644
--- a/man2/arch_prctl.2
+++ b/man2/arch_prctl.2
@@ -28,7 +28,6 @@  arch_prctl \- set architecture-specific thread state
 .SH SYNOPSIS
 .nf
 .BR "#include <asm/prctl.h>" "        /* Definition of " ARCH_* " constants */"
-.B #include <sys/prctl.h>
 .BR "#include <sys/syscall.h>" "      /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .PP