Message ID | 20210403194026.102818-10-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=Qmx1QPrd; 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 4FCS4d0CzQz9sWF for <incoming@patchwork.ozlabs.org>; Sun, 4 Apr 2021 05:42:41 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8DFDF3861019; Sat, 3 Apr 2021 19:42:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DFDF3861019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478920; 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=Qmx1QPrdlGYf9mlEDMIlZwAop2pIZG1w49hiGLbiBdqA5xhVayIuTmdiVDyu4UtgD fARPPBRUzUUDEe2OM8vRmAWy9sGZ+W/ogUYWqfvhFRHDU/XldfNmlYhDj929FX+4NW RpW7iNYCz/UVjVZk20atFqhauHZGFSk7hpt2DoOY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id EFFD03851C23 for <libc-alpha@sourceware.org>; Sat, 3 Apr 2021 19:41:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EFFD03851C23 Received: by mail-wr1-x429.google.com with SMTP id i18so4024096wrm.5 for <libc-alpha@sourceware.org>; Sat, 03 Apr 2021 12:41:54 -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=qTE396pwMUMSnV9ptcyLeVy/x5bDdGymS5ycBPIYjRYnx4Mmza0fhvpzbryT/vcCi+ RdAkxicmbjKL+mPvSBjOQb0IUtQVJ8HbkFfZBKzjmQ+HnGSBPRp989NVkjob03zIXc1H nkKpDYWekwhPwFDJ2dC0d8HwMMBXbRsu3gKF39cq0tghz4ZgQj1sbzQG6hzO0UVfqPM0 r+lU+GcFBzC+5fqLnDIQtEuDb85WAoEXfUGXjYIaM6RcZuxZKKXXr5yGsS2SX0/3s9J0 t6KVfD5lQ7nwNLhE0AJOaMfJhOGIwUJ57aOWBguLNClZNdOAIAmGu9IYw5FbcJ+8Ukt7 Gk6A== X-Gm-Message-State: AOAM532cMsoRZazAlY1BmF+pzhOYvDdoS9LXiAi2+CLuYvPjcDPxJiuu 6M4Ca+eQ5ZPUBoD+Cfh6VpA= X-Google-Smtp-Source: ABdhPJx16CYOC3/VDx0+5cm8nEcvxSxXJDpOhOZEtX0txayCDf5UZBJRLm52iUU1ZPwJov3ouL6jcA== X-Received: by 2002:adf:f083:: with SMTP id n3mr20959204wro.134.1617478914199; Sat, 03 Apr 2021 12:41:54 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:41:53 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 09/35] arch_prctl.2: SYNOPSIS: Remove unused includes Date: Sat, 3 Apr 2021 21:40:01 +0200 Message-Id: <20210403194026.102818-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.0 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 |
SYNOPSIS: Use syscall(SYS_...); and fix '#include's
|
expand
|
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
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(-)