diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-07-20 03:00:09 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-07-20 03:28:08 +0200 |
commit | 8ba1520e8c72ad0e2a33235625b37002c2715706 (patch) | |
tree | 5c594b419d967e02241d68e34889cacb5b11333c /sysdeps/mach/include/mach-shortcuts-hidden.h | |
parent | 38547460b7173f999c4e9f9bff8b1eccb0039dc6 (diff) | |
download | glibc-8ba1520e8c72ad0e2a33235625b37002c2715706.tar.gz glibc-8ba1520e8c72ad0e2a33235625b37002c2715706.tar.xz glibc-8ba1520e8c72ad0e2a33235625b37002c2715706.zip |
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.
Diffstat (limited to 'sysdeps/mach/include/mach-shortcuts-hidden.h')
-rw-r--r-- | sysdeps/mach/include/mach-shortcuts-hidden.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/include/mach-shortcuts-hidden.h b/sysdeps/mach/include/mach-shortcuts-hidden.h index 0942871f26..f0ab8804ca 100644 --- a/sysdeps/mach/include/mach-shortcuts-hidden.h +++ b/sysdeps/mach/include/mach-shortcuts-hidden.h @@ -1,4 +1,5 @@ #include <mach-shortcuts.h> +#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 |