From patchwork Sun Jun 28 01:45:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1318473 Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org 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 49vYNz4NP4z9s6w for ; Sun, 28 Jun 2020 11:45:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9498D383F86F; Sun, 28 Jun 2020 01:45:45 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from hera.aquilenet.fr (hera.aquilenet.fr [IPv6:2a0c:e300::1]) by sourceware.org (Postfix) with ESMTPS id BD578383F858 for ; Sun, 28 Jun 2020 01:45:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BD578383F858 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=samuel.thibault@ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 66883154F; Sun, 28 Jun 2020 03:45:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7U-WIUFa9tl6; Sun, 28 Jun 2020 03:45:33 +0200 (CEST) Received: from function (lfbn-bor-1-797-11.w86-234.abo.wanadoo.fr [86.234.239.11]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8348414AA; Sun, 28 Jun 2020 03:45:33 +0200 (CEST) Received: from samy by function with local (Exim 4.94) (envelope-from ) id 1jpMNq-001Ih2-TM; Sun, 28 Jun 2020 03:45:26 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Subject: [hurd,commited 1/3] htl: Fix includes for lockfile Date: Sun, 28 Jun 2020 03:45:24 +0200 Message-Id: <20200628014526.310138-2-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200628014526.310138-1-samuel.thibault@ens-lyon.org> References: <20200628014526.310138-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_NEUTRAL, 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: , Cc: commit-hurd@gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" These only need exactly to use __libc_ptf_call. * sysdeps/htl/flockfile.c: Include instead of * sysdeps/htl/ftrylockfile.c: Include instead of , , * sysdeps/htl/funlockfile.c: Include instead of and --- sysdeps/htl/flockfile.c | 2 +- sysdeps/htl/ftrylockfile.c | 4 +--- sysdeps/htl/funlockfile.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sysdeps/htl/flockfile.c b/sysdeps/htl/flockfile.c index 7d475e6e29..956b8b4128 100644 --- a/sysdeps/htl/flockfile.c +++ b/sysdeps/htl/flockfile.c @@ -17,7 +17,7 @@ . */ #include -#include +#include void diff --git a/sysdeps/htl/ftrylockfile.c b/sysdeps/htl/ftrylockfile.c index a467545647..a99cdedb0d 100644 --- a/sysdeps/htl/ftrylockfile.c +++ b/sysdeps/htl/ftrylockfile.c @@ -16,10 +16,8 @@ License along with the GNU C Library; if not, see . */ -#include -#include #include -#include +#include int diff --git a/sysdeps/htl/funlockfile.c b/sysdeps/htl/funlockfile.c index 70f6f2e773..0b59efaa35 100644 --- a/sysdeps/htl/funlockfile.c +++ b/sysdeps/htl/funlockfile.c @@ -16,9 +16,8 @@ License along with the GNU C Library; if not, see . */ -#include #include -#include +#include void