From 8ba1520e8c72ad0e2a33235625b37002c2715706 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 20 Jul 2018 03:00:09 +0200 Subject: hurd: Fix installed-headers tests * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Do not declare libc hidden prototypes. * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise. --- sysdeps/mach/include/mach-shortcuts-hidden.h | 2 ++ sysdeps/mach/include/mach/mach_traps.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'sysdeps/mach') diff --git a/sysdeps/mach/include/mach-shortcuts-hidden.h b/sysdeps/mach/include/mach-shortcuts-hidden.h index 0942871..f0ab880 100644 --- a/sysdeps/mach/include/mach-shortcuts-hidden.h +++ b/sysdeps/mach/include/mach-shortcuts-hidden.h @@ -1,4 +1,5 @@ #include +#ifndef _ISOMAC libc_hidden_proto (__task_create) libc_hidden_proto (__task_terminate) libc_hidden_proto (__vm_allocate) @@ -11,3 +12,4 @@ libc_hidden_proto (__mach_port_allocate_name) libc_hidden_proto (__mach_port_allocate) libc_hidden_proto (__mach_port_deallocate) libc_hidden_proto (__mach_port_insert_right) +#endif diff --git a/sysdeps/mach/include/mach/mach_traps.h b/sysdeps/mach/include/mach/mach_traps.h index 2d4c1f9..c433495 100644 --- a/sysdeps/mach/include/mach/mach_traps.h +++ b/sysdeps/mach/include/mach/mach_traps.h @@ -1,6 +1,7 @@ #ifndef _MACH_MACH_TRAPS_H #include_next +#ifndef _ISOMAC extern mach_port_t __mach_reply_port (void); libc_hidden_proto (__mach_reply_port) extern mach_port_t __mach_thread_self (void); @@ -19,3 +20,4 @@ libc_hidden_proto (__thread_switch) kern_return_t __evc_wait (unsigned int event); libc_hidden_proto (__evc_wait) #endif +#endif -- cgit v1.1