Message ID | 20210510175546.28445-35-alx.manpages@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Y8VuBYSj; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Ff81Y3WRFz9sWl for <incoming@patchwork.ozlabs.org>; Tue, 11 May 2021 03:58:41 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 762193987C08; Mon, 10 May 2021 17:57:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 762193987C08 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1620669429; bh=/UROc8n6DFYkbl6R3xqr4P0JOQRKno35aghTJ7OxkAQ=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Y8VuBYSjtXEEpzqRa1h3xpNydNZ5I0I9kGVLNlmo9sXQ3XypBPevxrVO/hGkGPZNE NprE4upIR5KZ7hRvs0CQuQQ6U+ActDd33pE+oHRK4EUo/3WmGnwqVtw0tDQTeNyjiV cnMtruP58ziyZq738fkg5ufoIlX47GisCCNm/zQ8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id E9E4E39888A5 for <libc-alpha@sourceware.org>; Mon, 10 May 2021 17:57:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E9E4E39888A5 Received: by mail-wr1-x42e.google.com with SMTP id n2so17589563wrm.0 for <libc-alpha@sourceware.org>; Mon, 10 May 2021 10:57:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/UROc8n6DFYkbl6R3xqr4P0JOQRKno35aghTJ7OxkAQ=; b=WiZ1kpsr38FaEZc6e0Dp6phiXGXAkxla6fgivRhnyA/EOMI4I5I3jEK6meCdJHfwZY KTXX2OqP6RsL2/zis/w+7y9YSp2/Um9n33YYzVe+5mTm5lT9F5CAyQ16pdVGyd4Wp6BP EtKS8dK3sDfdz5/OmlMS4LxZJkWQEUfd+TQXF1ygooLU/TzJv5qYqyK29rvk8fb8bcM1 mJRkVCdYTjbABpXnYXCaoa5VK52zpbZmf+iq/UNnySb82Y8rwzhhLv/jywRLslbx+0Qm sr969aulBD3xu8tby+UO5WfVg8I7E06E1UINhImMaBJoQ+2kL/DMTEf/258SjG34kuXj CqNg== X-Gm-Message-State: AOAM533/2sQBlXdhq0u1auQ3jpYEX+b8V57191txCZjD8MfXikSvBfb4 501wFZL+e6mA6GeExXq+aQU= X-Google-Smtp-Source: ABdhPJz7kdCDk8eQB2qTNg2/J+AyhjKFkAz+iph1RVN1mM1/Jy65B/V9de3/o9liW4DCDETG69c9qQ== X-Received: by 2002:adf:dd4f:: with SMTP id u15mr33329025wrm.308.1620669426119; Mon, 10 May 2021 10:57:06 -0700 (PDT) Received: from sqli.sqli.com ([195.53.121.100]) by smtp.googlemail.com with ESMTPSA id m13sm24318830wrw.86.2021.05.10.10.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 10:57:05 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH 34/39] poll.2: Remove <signal.h> Date: Mon, 10 May 2021 19:55:43 +0200 Message-Id: <20210510175546.28445-35-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210510175546.28445-1-alx.manpages@gmail.com> References: <20210510175546.28445-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Alejandro Colomar via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Alejandro Colomar <alx.manpages@gmail.com> Cc: Florian Weimer <fweimer@redhat.com>, Jakub Wilk <jwilk@jwilk.net>, Alejandro Colomar <alx.manpages@gmail.com>, libc-alpha@sourceware.org, linux-man@vger.kernel.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
man2: SYNOPSIS: Fix headers, use syscall(), and other fixes
|
expand
|
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 ()
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(-)