From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 2B0203987C35 for ; Mon, 10 May 2021 17:56:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2B0203987C35 Received: by mail-wr1-x431.google.com with SMTP id l2so17529296wrm.9 for ; Mon, 10 May 2021 10:56:56 -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=gxCmG5Kd+TaaV5+mAaigLRxnoTYuzJvrptNwSvlLxFs=; b=FV6KlRPUrHyEz+33TwiPR1gWgvdVjlebV4lEOmfhpYlg0YlALQM9usGpOukdIO79Ll Ugfl4yMEa5/HBWSD4NXOtK0BqcWRKPVD0xtbTqUkwfT1SyavuaWLkEprP15NDRzrKBjH sdYJOjf8XhXlEMV8PG481kxCUz1me25qGsymEdjt7+z06+3KcgDSTGHZxqbHCLZDy/y1 9iVausQ/dj+cKLF8UHekic6DgFpO60T056evIpp5fZwz2rin+lI4mVFhjP65111p/wvc t7FBoO8MAsSga6tWSMjLlyb/69PVl/jFSDqw+nFbRlL6SvAQIG6MdxVLV/Un7kSh51GO tN9A== X-Gm-Message-State: AOAM530ucNLOMtyARB0PdYFrAeeH4FQhdPwqQOseD5J813U4b2/rrGl6 2ew5AlvrBETwWMOWtWMXn+bQmgEYqXI= X-Google-Smtp-Source: ABdhPJxfS2lYrqrF/cvfzka67zctVJ4MdsvsEU3z5T2QxV+SrkM5MBgaV+67weyZybTshaG0l6aDtw== X-Received: by 2002:adf:b30a:: with SMTP id j10mr28054835wrd.417.1620669415334; Mon, 10 May 2021 10:56:55 -0700 (PDT) Received: from sqli.sqli.com ([195.53.121.100]) by smtp.googlemail.com with ESMTPSA id m13sm24318830wrw.86.2021.05.10.10.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 10:56:55 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: Florian Weimer , Jakub Wilk , Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: [PATCH 26/39] open.2: Remove unused Date: Mon, 10 May 2021 19:55:35 +0200 Message-Id: <20210510175546.28445-27-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210510175546.28445-1-alx.manpages@gmail.com> References: <20210510175546.28445-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-List-Received-Date: Mon, 10 May 2021 17:56:57 -0000 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