about summary refs log tree commit diff
path: root/sysdeps/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-07-20 03:00:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-07-20 03:28:08 +0200
commit8ba1520e8c72ad0e2a33235625b37002c2715706 (patch)
tree5c594b419d967e02241d68e34889cacb5b11333c /sysdeps/hurd
parent38547460b7173f999c4e9f9bff8b1eccb0039dc6 (diff)
downloadglibc-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/hurd')
-rw-r--r--sysdeps/hurd/include/hurd/port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/hurd/include/hurd/port.h b/sysdeps/hurd/include/hurd/port.h
index 84582f6d02..ca1d2d111a 100644
--- a/sysdeps/hurd/include/hurd/port.h
+++ b/sysdeps/hurd/include/hurd/port.h
@@ -1,5 +1,6 @@
 #ifndef	_HURD_PORT_H
 #include_next <hurd/port.h>
+#ifndef _ISOMAC
 libc_hidden_proto (_hurd_port_locked_get)
 libc_hidden_proto (_hurd_port_locked_set)
 #ifdef _HURD_PORT_H_HIDDEN_DEF
@@ -7,3 +8,4 @@ libc_hidden_def (_hurd_port_locked_get)
 libc_hidden_def (_hurd_port_locked_set)
 #endif
 #endif
+#endif