Message ID | 20210404115847.78166-10-alx.manpages@gmail.com |
---|---|
State | Not applicable |
Headers |
Return-Path: <libc-alpha-bounces@sourceware.org> 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 55E4838515EE; Sun, 4 Apr 2021 11:59:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55E4838515EE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617537584; bh=lKHL7xxGpUL+d+UpVuRwD2E0iUbd5YaO2mOPwYyxNBg=; 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=h6JXd6NB6IGlpMo/nhXyIjTxMTY8AGLziUQDNRXqHf4aZovX5J1CPNS+6afivdHyW uPPjn5jjT8i7KXl241Q6UjKbnKgePAUI308zXR6sUvHsJtFAXmjPo6cwHKUkMeUOi6 AkvwXCJ9oINfJS2pcrPIa1tIcrZGUaAglJ9LH6dI= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 183B63851C2E for <libc-alpha@sourceware.org>; Sun, 4 Apr 2021 11:59:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 183B63851C2E Received: by mail-wm1-x32e.google.com with SMTP id o6so1558322wmq.3 for <libc-alpha@sourceware.org>; Sun, 04 Apr 2021 04:59:40 -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=lKHL7xxGpUL+d+UpVuRwD2E0iUbd5YaO2mOPwYyxNBg=; b=jQKg8tb0+L9aax7TGD8w8xGuTreFSpFAUtEXEVEspm3XEvV7dwcNbeyuRIyyidRA7Q fYx5JNrDmmZZAPfMf48RWB4RHQOAMFcQSxkHeJrG8CyQWqQIbABMgFJCNwNn4Eb4KfOd iFkIDjvBWatGhgeATMZEyJK64aU1gIZm3a/1Y9trqapUA09aO+KSPD6YNShqOaR04iUv /OtFsVB+4dW6u1h+7amHSwXd1e/AdlXGqqLZK87ObJicPNHKRvsArQoNf6nuYK/gK8dx 3xaahNjaYiyGa+ZX1V4lYgoMrrqejOOOV806IBiz94s1Y4TpBa7CTiDpFjOolzSGNkMp NPuQ== X-Gm-Message-State: AOAM531USX20kVSa4Ih4F8xSk4Xl9+N4bD3qscEtplx9lILH5/pXCe37 oMuzZSRfRm0T4RYqXy2uSlw= X-Google-Smtp-Source: ABdhPJxQ17YUM/UXDPRP/R6W+dcKYWJC1NIkUs/ILyUOLWI3AFzcs9gsg4TKmkZj3o9rQ4JzTMNkCg== X-Received: by 2002:a1c:f605:: with SMTP id w5mr20934122wmc.66.1617537579230; Sun, 04 Apr 2021 04:59:39 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id u2sm23786967wrp.12.2021.04.04.04.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Apr 2021 04:59:38 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v5 09/35] arch_prctl.2: SYNOPSIS: Remove unused includes Date: Sun, 4 Apr 2021 13:58:22 +0200 Message-Id: <20210404115847.78166-10-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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.2 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: Alejandro Colomar <alx.manpages@gmail.com>, linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
None
|
|
Commit Message
Alejandro Colomar
April 4, 2021, 11:58 a.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(-)
Comments
Hi Alex, On 4/4/21 1:58 PM, Alejandro Colomar wrote: > AFAICS, there's no reason to include that. > All of the macros that this function uses > are already defined in the other headers. I suspect it was a case of cut-and-paste (from prctl.2) long ago when the page was written. Patch applied. Thanks, Michael > 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(-) > > diff --git a/man2/arch_prctl.2 b/man2/arch_prctl.2 > index f8073d625..7ae5b350c 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 >
diff --git a/man2/arch_prctl.2 b/man2/arch_prctl.2 index f8073d625..7ae5b350c 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