[PATCH 34/39] poll.2: Remove <signal.h>
Alejandro Colomar
alx.manpages@gmail.com
Mon May 10 17:55:43 GMT 2021
It is only used for providing 'sigset_t'. We're only documenting
(with some exceptions) the includes needed for constants and the
prototype itself. And 'sigset_t' is better documented in
system_data_types(7). Remove that include.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man2/poll.2 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/man2/poll.2 b/man2/poll.2
index 8622e7c7a..205468f3e 100644
--- a/man2/poll.2
+++ b/man2/poll.2
@@ -37,11 +37,10 @@ poll, ppoll \- wait for some event on a file descriptor
.BI "int poll(struct pollfd *" fds ", nfds_t " nfds ", int " timeout );
.PP
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
-.B #include <signal.h>
.B #include <poll.h>
.PP
.BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds ,
-.BI " const struct timespec *" tmo_p ", const sigset_t *" sigmask );
+.BI " const struct timespec *" tmo_p ", const sigset_t *" sigmask );
.fi
.SH DESCRIPTION
.BR poll ()
--
2.31.1
More information about the Libc-alpha
mailing list