From patchwork Wed Apr 18 22:42:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 900432 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-91684-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.b="lScO30y7"; 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 40RHGF6hVzz9s27 for ; Thu, 19 Apr 2018 08:43:33 +1000 (AEST) 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; q=dns; s= default; b=qfmOE583upYvTiQZQVPYeWIZ62IoNKzyG0mYTSVY4SC8iKjgsHdix xU0dZZDcCix3Wah1UBdeiww5wYml1QpBbIX7hCLouZxP/SzqKHgz+LrhfLxwLJYN /F8nqrJSOWihB5KbQsZllybDqkRcv3Q40fxh1Djg6SAivlrtv3DCHI= 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; s=default; bh=FG5sjn3NiUOH+ifB5ErhmZhOucQ=; b=lScO30y7DF+HBPlhG69j/iVKSZ/7 gclCphi97nLg5nQlE1feql7vla5zgSby2Z+xnBMbbyXVhc+++D44R3TME9MtUW6N 5CDjYBleGitAl2x7GSoBCsBAWzor8Dg/Ofg1Dvinc1lLcml492PtLKUS6rPaMGsj 6p3FQBpCJTy5BSo= Received: (qmail 52660 invoked by alias); 18 Apr 2018 22:42: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 52533 invoked by uid 89); 18 Apr 2018 22:42:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: Fix mach installed headers test Date: Thu, 19 Apr 2018 00:42:51 +0200 Message-Id: <20180418224251.24309-1-samuel.thibault@ens-lyon.org> * include/lock-intern.h [!_ISOMAC]: Do not declare libc hidden prototypes. * include/mach.h [!_ISOMAC]: Likewise. * include/mach/mig_support.h [!_ISOMAC]: Likewise. * include/mach_error.h [!_ISOMAC]: Likewise. --- ChangeLog | 5 +++++ include/lock-intern.h | 2 ++ include/mach.h | 2 ++ include/mach/mig_support.h | 2 ++ include/mach_error.h | 2 ++ 5 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 772dbcf479..dcf0b71d3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,11 @@ * sysdeps/mach/include/mach.h: Move to include/. * sysdeps/mach/include/mach/mig_support.h: Move to include/mach/. * sysdeps/mach/include/mach_error.h: Move to include/. + * include/lock-intern.h [!_ISOMAC]: Do not declare libc hidden + prototypes. + * include/mach.h [!_ISOMAC]: Likewise. + * include/mach/mig_support.h [!_ISOMAC]: Likewise. + * include/mach_error.h [!_ISOMAC]: Likewise. 2018-04-16 Adhemerval Zanella diff --git a/include/lock-intern.h b/include/lock-intern.h index d0767ab37b..e42ad17be2 100644 --- a/include/lock-intern.h +++ b/include/lock-intern.h @@ -1,5 +1,6 @@ #ifndef _LOCK_INTERN_H #include +#ifndef _ISOMAC libc_hidden_proto (__spin_lock_locked) libc_hidden_proto (__spin_lock) libc_hidden_proto (__spin_lock_solid) @@ -10,3 +11,4 @@ libc_hidden_proto (__mutex_lock) libc_hidden_proto (__mutex_unlock) libc_hidden_proto (__mutex_trylock) #endif +#endif diff --git a/include/mach.h b/include/mach.h index 1f77100b6e..b4c2f45240 100644 --- a/include/mach.h +++ b/include/mach.h @@ -1,4 +1,6 @@ #ifndef _MACH_H #include_next +#ifndef _ISOMAC libc_hidden_proto (__mach_msg_destroy) #endif +#endif diff --git a/include/mach/mig_support.h b/include/mach/mig_support.h index 7b9015d7e7..b027237692 100644 --- a/include/mach/mig_support.h +++ b/include/mach/mig_support.h @@ -1,6 +1,8 @@ #ifndef _MACH_MIG_SUPPORT_H #include_next +#ifndef _ISOMAC libc_hidden_proto (__mig_get_reply_port) libc_hidden_proto (__mig_dealloc_reply_port) libc_hidden_proto (__mig_init) #endif +#endif diff --git a/include/mach_error.h b/include/mach_error.h index 91463eb672..de1c4ca4fe 100644 --- a/include/mach_error.h +++ b/include/mach_error.h @@ -1,4 +1,6 @@ #ifndef _MACH_ERROR_ #include_next +#ifndef _ISOMAC libc_hidden_proto (mach_error_type) #endif +#endif