From patchwork Mon Oct 7 13:07:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1172753 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-105652-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ZiSXfUXI"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46n14N2RgJz9s7T for ; Tue, 8 Oct 2019 00:08:04 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=w5K 0Jv6y1uyOvRg4r+UKlGA3DQTTn9EkuIzQWN4wH6vnvNhXWqImnweb8Fg7z+yUBNL epBvavCi2GX1f6jDV9O8KX0GtkQ5Je+70KqAL8ajyO1b1BLNiZ9S7sep2bG4CV/h od1TLRuuETvtS4JZJWzZaRT7KzGBVW7ix6mcnBAk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=jVzMwNth/ rwieHAw70832HHyoNY=; b=ZiSXfUXIAbyhSHQuazoMGiq0L74554LhINqsqShgC PGRxsIfj9Yr2ipkDPdWiIbd4QZKNyTo5upKIPjuMxSCiyg+XVLP0NcwIT5ItQ1wL 5bqQAVG122qPXMpw4yWbTePQeO6cra6CNu+eHgqf0HScZHX8wVDuYf4SwL0Pft5g pM= Received: (qmail 90755 invoked by alias); 7 Oct 2019 13:07:58 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 90746 invoked by uid 89); 7 Oct 2019 13:07:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: mx1.suse.de From: Petr Vorel To: libc-alpha@sourceware.org Cc: Petr Vorel , Florian Weimer Subject: [PATCH] : Remove wrong comment about getdents64() declaration Date: Mon, 7 Oct 2019 15:07:49 +0200 Message-Id: <20191007130749.29272-1-pvorel@suse.cz> MIME-Version: 1.0 Originally the public interface for getdents64 was declared in in 51ea67d548. Later, b8b3d5a14e moved it to . Fixes: b8b3d5a14e ("Linux: Move getdents64 to ") Signed-off-by: Petr Vorel --- include/dirent.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/dirent.h b/include/dirent.h index 3736803bce..1f0121f3d9 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -36,8 +36,7 @@ extern __ssize_t __getdirentries (int __fd, char *__restrict __buf, __off_t *__restrict __basep) __THROW __nonnull ((2, 4)); -/* These functions are only implemented on Linux. The public - interface for getdents64 is declared in . */ +/* These functions are only implemented on Linux. */ extern __ssize_t __getdents (int __fd, void *__buf, size_t __nbytes) attribute_hidden; extern __ssize_t __getdents64 (int __fd, void *__buf, size_t __nbytes);