Message ID | 20210403194026.102818-19-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 55CB1388A412; Sat, 3 Apr 2021 19:42:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55CB1388A412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478926; bh=fwhwr6f7qb06ZDUqOxxmDfgFb3kytZmjcBLKXopOTrs=; 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=JytSR2rLvJ4AaQ0ntChy3RjnVLFOSq32/WX69PFUYPrjgGq3ENJ1yv3ldPXTnuPJd odOqAwpL6t+mYdjEQ9Czt2Uy1Qk1+//XWLXVo40eBk1UQ9oav49oc+NUuNn5KxY2qE YIpKXtjVIvP5lGip+zL20H3YUmjsZDL53VybXLPo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 08A043861026 for <libc-alpha@sourceware.org>; Sat, 3 Apr 2021 19:42:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 08A043861026 Received: by mail-wm1-x330.google.com with SMTP id j4-20020a05600c4104b029010c62bc1e20so3804584wmi.3 for <libc-alpha@sourceware.org>; Sat, 03 Apr 2021 12:42:00 -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=fwhwr6f7qb06ZDUqOxxmDfgFb3kytZmjcBLKXopOTrs=; b=fIt5tBnu38aM10WkGgxkRrdWixWSHT12VsWp+4NCBl/gTKPOeqeQUExt0wArMri/2M /zPWoeTo17spQMhf1giAsb5Tj3n7vCoboGYRaB2hWiugDsyEm/tBBahLK6qOBpmsPu2j EeuAspfVa2T4CjM3qbGSPufqVsmAUvFG9nzHWj6UQj8xZzHSQr98rh2dDS/iBWrH72MA dLDN6F1HGyPMd5q9Yav3VrzIz7O8bgH369MmGyfFixsVwc6wbihrSzN2lwMlGh05cX7B 4R+42fXx/HmEWbPduS1sVX7m7tJiijewehzEcp3UoMZmNTlxcBJ6biQ+hHxDeiOz9jUI r3yA== X-Gm-Message-State: AOAM5323jBAwW7Qjp4Qa1N1tq7yz0F/h/tQ4pBujDxfTfkwTwtevztrq pGhHkTFUEXt+4W+/EHqXomk= X-Google-Smtp-Source: ABdhPJxnPtB2HN5kUG275PWcoBGZgZS24y+7eIBqTtRlHwJZXHvZb1+v085dDGj1phQehXlJIM0VuQ== X-Received: by 2002:a7b:c385:: with SMTP id s5mr17366824wmj.17.1617478920257; Sat, 03 Apr 2021 12:42:00 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:00 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 18/35] fcntl.2: Remove unused include Date: Sat, 3 Apr 2021 21:40:10 +0200 Message-Id: <20210403194026.102818-19-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.1 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
|
|
Commit Message
Alejandro Colomar
April 3, 2021, 7:40 p.m. UTC
I couldn't find a reason for including <unistd.h>. All the macros
used by fcntl() are defined in <fcntl.h>. For comparison, FreeBSD
and OpenBSD don't specify <unistd.h> in their manual pages.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man2/fcntl.2 | 1 -
1 file changed, 1 deletion(-)
diff --git a/man2/fcntl.2 b/man2/fcntl.2 index de87eec1f..7b5604e3a 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -69,7 +69,6 @@ fcntl \- manipulate file descriptor .SH SYNOPSIS .nf -.B #include <unistd.h> .B #include <fcntl.h> .PP .BI "int fcntl(int " fd ", int " cmd ", ... /* " arg " */ );"