From patchwork Sun Apr 4 11:58:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462097 Return-Path: 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=) 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=c6qRHhKO; 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 4FCsp25bMdz9sRR for ; Sun, 4 Apr 2021 22:01:30 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0EC3E3860C3E; Sun, 4 Apr 2021 11:59:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EC3E3860C3E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617537594; bh=HAiRQP2GtgEF1v9z/PyEJIuscLwk5tIDe0zM0JUVKt0=; 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=c6qRHhKO04Je3+TZZgBZMQu7SyKhkgsbRNfTSyGa28NaxHtG9FFN9l27o6xdPF4Wv XQsfOAz3DrylrGPB8QKdMNVpEMYt/CPvknhgeYJ+IBZZZ7QniFqVOThTmefiJTec5l lj1keKmN1r0Bdi9azWBC4LvJ2TXKCGBX1LyUoCmY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id C3FD53850407 for ; Sun, 4 Apr 2021 11:59:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C3FD53850407 Received: by mail-wr1-x42c.google.com with SMTP id f12so2624024wro.0 for ; Sun, 04 Apr 2021 04:59:49 -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=HAiRQP2GtgEF1v9z/PyEJIuscLwk5tIDe0zM0JUVKt0=; b=nujCBOkYd80nkybJ7/4uDk+zThYR3YMbUkmxuE5+QoOklPefot5lRuEd5z64XYeJBq SsOdz0NU24aT8URv/vWn7AjFy+26KdiNYtxL8FruHC9LeTD2sNgcqjuq9zVJKjQZWv2V ERupiQQRN3DVfSAlt57fbzjHad2qlbNPL0DEGGZl3I8I6QwJipzf+j9+2lifN9BQ7Bzy Mz7BrY4jfFpkXW62oleqUq7rpT5j8bIWJepBuqdI8EqL7VeuZX37H4HgrMdxWUjWrRzP KCd372fHt/pXZNLMEK2dF8qYpN+MS+qZQMgOYa9hmKW4oV+l/mOiSriEK2bMu69Muloy B0Cw== X-Gm-Message-State: AOAM531bgyzp2T5RC6QsrQhaxLsJdHcJ6ncIob/w6VHvBe/aE5+YkgP2 s6MPTsZKuLxD8sA84HA7m5M= X-Google-Smtp-Source: ABdhPJyMquK+RLLxQbfXxuA3LT0+KGE0NrKZiv5FBnR7eVui5xlweeoMIE6y0ullccxRDiFmnvDFHA== X-Received: by 2002:adf:e5c8:: with SMTP id a8mr24832771wrn.352.1617537588987; Sun, 04 Apr 2021 04:59:48 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id u2sm23786967wrp.12.2021.04.04.04.59.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Apr 2021 04:59:48 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v5 23/35] getrlimit.2, getrusage.2: Remove unused include Date: Sun, 4 Apr 2021 13:58:36 +0200 Message-Id: <20210404115847.78166-24-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" is not required by any of these function declaration or macro definition used by these functions. It's maybe (or maybe not) needed by some tipe inside the rlimit structure, but that info belongs to system_data_types(7), not here. Signed-off-by: Alejandro Colomar --- man2/getrlimit.2 | 1 - man2/getrusage.2 | 9 --------- 2 files changed, 10 deletions(-) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 444c50525..648fd3c85 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -66,7 +66,6 @@ getrlimit, setrlimit, prlimit \- get/set resource limits .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int getrlimit(int " resource ", struct rlimit *" rlim ); diff --git a/man2/getrusage.2 b/man2/getrusage.2 index d3c0de8a0..85c4ffed1 100644 --- a/man2/getrusage.2 +++ b/man2/getrusage.2 @@ -41,7 +41,6 @@ getrusage \- get resource usage .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int getrusage(int " who ", struct rusage *" usage ); @@ -230,14 +229,6 @@ is Linux-specific. Resource usage metrics are preserved across an .BR execve (2). .PP -Including -.I -is not required these days, but increases portability. -(Indeed, -.I struct timeval -is defined in -.IR .) -.PP In Linux kernel versions before 2.6.9, if the disposition of .B SIGCHLD is set to