about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 00:42:14 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 00:42:14 +0200
commitd4379e0216d01fd1395b1f3b37255e3486760135 (patch)
tree93f46f004c112d40ee0d06c6c2f10779d2edb760 /include
parentc15f10ee78c6fa837732bb0b3d6cec44e4171fcd (diff)
downloadglibc-d4379e0216d01fd1395b1f3b37255e3486760135.tar.gz
glibc-d4379e0216d01fd1395b1f3b37255e3486760135.tar.xz
glibc-d4379e0216d01fd1395b1f3b37255e3486760135.zip
hurd: Fix mach installed headers test
	* 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.
Diffstat (limited to 'include')
-rw-r--r--include/lock-intern.h2
-rw-r--r--include/mach.h2
-rw-r--r--include/mach/mig_support.h2
-rw-r--r--include/mach_error.h2
4 files changed, 8 insertions, 0 deletions
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 <mach/lock-intern.h>
+#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 <mach.h>
+#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 <mach/mig_support.h>
+#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 <mach_error.h>
+#ifndef _ISOMAC
 libc_hidden_proto (mach_error_type)
 #endif
+#endif