From patchwork Sun Feb 9 16:43:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1235488 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=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109292-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=ZEmSOhuj; 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 48Fvx82DNjz9sP7 for ; Mon, 10 Feb 2020 03:43:24 +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=stM BSIf1ooAe9GGmsKDCjdg5tEbwbunL035YdLMjVECs4uZLsBY5Up6TKfhcvxXM7zd NdcWgFR9VfXtuMtlwxFApIQMR8MyYv7KUGmHLFuu+MY+UK99iYe9lQHNFRxTDmPD tC3WsFAfDDamtJjsxBpu2SIiMIh8SigBRZNOYCxY= 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=wnOcyg+Oj B3ZQUopQcS2ow3LooY=; b=ZEmSOhujBTFPmZzlWWU8w37Ns2hNpJ57TdZUF5Q28 6lroTkoMmhMyyBXDSuCVoA2vXnOiQhcO92lvec1KsHTin+kqujBvaSuvsbrO5pmH iGYHu7IQndqNVNgCvaNioBTFa0Oa6GXXVzgG0l+C6eFPrjKtSiFxgK6AxyVAdZxw tE= Received: (qmail 29256 invoked by alias); 9 Feb 2020 16:43:18 -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 29245 invoked by uid 89); 9 Feb 2020 16:43:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd, commited] htl: Avoid check-installed-headers looking at inlines Date: Sun, 9 Feb 2020 17:43:12 +0100 Message-Id: <20200209164312.277077-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 --- sysdeps/htl/include/pthread.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sysdeps/htl/include/pthread.h b/sysdeps/htl/include/pthread.h index 173b1eb08d..a9c0e58b00 100644 --- a/sysdeps/htl/include/pthread.h +++ b/sysdeps/htl/include/pthread.h @@ -1,7 +1,8 @@ #ifndef _PTHREAD_H #include_next -#if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport) -# include +#ifndef _ISOMAC +# if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport) +# include __extern_inline int pthread_spin_destroy (pthread_spinlock_t *__lock) @@ -32,5 +33,6 @@ pthread_spin_unlock (pthread_spinlock_t *__lock) { return __pthread_spin_unlock (__lock); } +# endif #endif #endif