From patchwork Sun Apr 4 11:58:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 42901 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6E49E3850416; Sun, 4 Apr 2021 11:59:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E49E3850416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617537593; bh=4RUXZNNPRHFOrslSAajMyr/oneUNBsE8l+hRPjLljlU=; 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=GLqWXFv95aG7Hb6ztwcgoGWpwkP4KJJiE6l7+8/CoXXy6HSqdmtcPZolxE8KayrPf DA+cvNTRNeJn33ZOZPERiRlYzTHS36mC9+n8ry/QZNwcUFdDFMfF77GN88keThMmpb oWSIGMCE+d8+7PwVOuOw+6ZNDjKiNkrIOIsvBco8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 1CFA63861032 for ; Sun, 4 Apr 2021 11:59:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1CFA63861032 Received: by mail-wr1-x42a.google.com with SMTP id f12so2624009wro.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=4RUXZNNPRHFOrslSAajMyr/oneUNBsE8l+hRPjLljlU=; b=Bwe647diRIeEuQNgPZPsfF69+6S1c5FN9dNxV1118I5Nm6XbNaN6kmOv8ByGibhfNF 6xkbRMC0+FsMkJ6LNqAEZHiKp9R+Yp7r5/tyzyxWMmIPIv4qG5bYGbfQaDPG/N5Q2z2z Q+gv3hYO8tLNO9Rg4WMWKPmBEMXrKSCe38uRPreyczbJ6ppGYmcQ6RVFUQFrfZ0tWOie PwMI0U25ZmKmL6V8038Dz1V0kzToYirHeL1QUIl01TUexO6nnxcYSOnZClVkCkGk9bil UQPE4HbFjR/pdRfQ7WZ9sfQ03VRYku/Oq1QmT61SAS+Wypxfyh38hrfhqQraygE4/ftk KvbA== X-Gm-Message-State: AOAM530SnMGBN9YTbsa3r4A8tZm5CvxiRXBNsA+PL9vP7et+WzNYeKzi 6TxiXeMzGm9JZw3AargndZY= X-Google-Smtp-Source: ABdhPJwmxNYd03/hXEz4G+xHqACI+y481rN5LNbHGCYciZkNiqFd9RhfRGfct12W2aFhanucD6lPYQ== X-Received: by 2002:a5d:4bcb:: with SMTP id l11mr25167639wrt.390.1617537588323; 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.47 (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 22/35] getpriority.2: Remove unused include Date: Sun, 4 Apr 2021 13:58:35 +0200 Message-Id: <20210404115847.78166-23-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 needed to get the function declaration nor any constant used by the function. It was only needed (before POSIX.1) to get 'struct timeval', but that information would be more suited for system_data_types(7), and not for this page. Signed-off-by: Alejandro Colomar --- man2/getpriority.2 | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/man2/getpriority.2 b/man2/getpriority.2 index e3d518028..d6744989d 100644 --- a/man2/getpriority.2 +++ b/man2/getpriority.2 @@ -47,7 +47,6 @@ getpriority, setpriority \- get/set program scheduling priority .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int getpriority(int " which ", id_t " who ); @@ -209,18 +208,6 @@ the real or effective user ID of the process \fIwho\fP. All BSD-like systems (SunOS 4.1.3, Ultrix 4.2, 4.3BSD, FreeBSD 4.3, OpenBSD-2.5, ...) behave in the same manner as Linux 2.6.12 and later. -.PP -Including -.I -is not required these days, but increases portability. -(Indeed, -.I -defines the -.I rusage -structure with fields of type -.I struct timeval -defined in -.IR .) .\" .SS C library/kernel differences Within the kernel, nice values are actually represented