From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2EEBC4707A for ; Fri, 21 May 2021 23:26:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8DFEA613F6 for ; Fri, 21 May 2021 23:26:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229937AbhEUX1Z (ORCPT ); Fri, 21 May 2021 19:27:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbhEUX1Z (ORCPT ); Fri, 21 May 2021 19:27:25 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E33FC0613CE for ; Fri, 21 May 2021 16:26:00 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id t206so11941468wmf.0 for ; Fri, 21 May 2021 16:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gxCmG5Kd+TaaV5+mAaigLRxnoTYuzJvrptNwSvlLxFs=; b=Arld4EHk89Vbs+68HatnP9w4Dv1mNoGO/zsdaGltvI1PRB5NCwmFbBMKzvga5wZJfT AQiObnGySOSKmLRf/xTGCFSzhrZGqrTxAiShWX3P1lI97S6x0dd8kLqXQN50LM1yOBSt /v3Rb27YBUzkzvnNvRds2+lYVkTKCh1vTRgyI4puKqPgSAVThQW2gn7gH6sqQhltUCok /YS3fDsrKnt5Gl2b1ABQbYYAgFoDtfWSo0Z/bcyz3Q/e8A3HiBB6mUhhmdJdK3XmfsKk pbQNwezeIy1DyE1rWDUA0JN46c/1mlxiXDEijlaZwia/rR3TquakcZjjdjeOVRwkIPw0 vObg== 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=gxCmG5Kd+TaaV5+mAaigLRxnoTYuzJvrptNwSvlLxFs=; b=eO6fCi+Cb8+Wxkgta+b0whnn0J4L+dboq0fjqHGWaQM+VID3WoxLKMw5xCtSw2roTt 6d9o8rMQZvJNAywEoWLq9G+CD/NweJWaM12xrxjqgJXho8dmAo8h2X8jNGYM3evErucr EoT2plQrteBiLIgJpKSUjgw8IXT1gRkuDvfR+EoF3Ri+SBpfArfyewMFInCxAo9wYgKl shk520IVmkhLQ0UCmS/TZvVGN5x44DlHOo5lxQcsAsqkkXkaimkyjJ6ugHHJAf2pphqR I50eNCZTw/fyvO+t/Nq09c3oRYJZm1IStX+8pxjaCg9XbamVp3itl0njckZF6pNNAqMW QQLA== X-Gm-Message-State: AOAM531lMEqHTnTMN8wrgUrcC7z7XhPeJogos8WS3c5vBR5+21X8sRaL LfLyntHjrLNgHKUn0eX7ts/sLvkP2b2dlw== X-Google-Smtp-Source: ABdhPJwXZtJ1+QUbf6AoZqmoR6S44VBddoxCaTiO1dRN4t1bzK4SgNUPS6nubEzWXO2k0a/e9pDGVw== X-Received: by 2002:a05:600c:2f88:: with SMTP id t8mr10837777wmn.82.1621639559088; Fri, 21 May 2021 16:25:59 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id z12sm1150639wmc.5.2021.05.21.16.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 16:25:58 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: Alejandro Colomar , linux-man@vger.kernel.org Subject: [PATCH 01/10] open.2: Remove unused Date: Sat, 22 May 2021 01:25:45 +0200 Message-Id: <20210521232553.161080-2-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210521232553.161080-1-alx.manpages@gmail.com> References: <20210521232553.161080-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org I can't see a reason to include it. provides O_* constants for 'flags', S_* constants for 'mode', and mode_t. Probably a long time ago, some of those weren't defined in , and both headers needed to be included, or maybe it's a historical error. Signed-off-by: Alejandro Colomar --- man2/open.2 | 1 - 1 file changed, 1 deletion(-) diff --git a/man2/open.2 b/man2/open.2 index bac1ee806..1bcd995f4 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -53,7 +53,6 @@ open, openat, creat \- open and possibly create a file .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int open(const char *" pathname ", int " flags ); -- 2.31.1