about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-20 00:54:18 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-20 01:27:13 +0200
commitc5896a459543725dbca49ee894fd85b2f105ce6f (patch)
tree67d31294058f38462b8dd1913cf2f8693f838f11 /sysdeps/mach
parent81b032c833a01491dfa35e9fdc5c2d4e523df163 (diff)
downloadglibc-c5896a459543725dbca49ee894fd85b2f105ce6f.tar.gz
glibc-c5896a459543725dbca49ee894fd85b2f105ce6f.tar.xz
glibc-c5896a459543725dbca49ee894fd85b2f105ce6f.zip
Revert "hurd: Fix mach installed headers test"
This reverts commit d4379e0216d01fd1395b1f3b37255e3486760135: the proper
headers are actually already getting installed.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/include/lock-intern.h14
-rw-r--r--sysdeps/mach/include/mach.h6
-rw-r--r--sysdeps/mach/include/mach/mig_support.h8
-rw-r--r--sysdeps/mach/include/mach_error.h6
4 files changed, 34 insertions, 0 deletions
diff --git a/sysdeps/mach/include/lock-intern.h b/sysdeps/mach/include/lock-intern.h
new file mode 100644
index 0000000000..e42ad17be2
--- /dev/null
+++ b/sysdeps/mach/include/lock-intern.h
@@ -0,0 +1,14 @@
+#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)
+libc_hidden_proto (__spin_unlock)
+libc_hidden_proto (__spin_try_lock)
+libc_hidden_proto (__mutex_init)
+libc_hidden_proto (__mutex_lock)
+libc_hidden_proto (__mutex_unlock)
+libc_hidden_proto (__mutex_trylock)
+#endif
+#endif
diff --git a/sysdeps/mach/include/mach.h b/sysdeps/mach/include/mach.h
new file mode 100644
index 0000000000..b4c2f45240
--- /dev/null
+++ b/sysdeps/mach/include/mach.h
@@ -0,0 +1,6 @@
+#ifndef	_MACH_H
+#include_next <mach.h>
+#ifndef _ISOMAC
+libc_hidden_proto (__mach_msg_destroy)
+#endif
+#endif
diff --git a/sysdeps/mach/include/mach/mig_support.h b/sysdeps/mach/include/mach/mig_support.h
new file mode 100644
index 0000000000..b027237692
--- /dev/null
+++ b/sysdeps/mach/include/mach/mig_support.h
@@ -0,0 +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/sysdeps/mach/include/mach_error.h b/sysdeps/mach/include/mach_error.h
new file mode 100644
index 0000000000..de1c4ca4fe
--- /dev/null
+++ b/sysdeps/mach/include/mach_error.h
@@ -0,0 +1,6 @@
+#ifndef	_MACH_ERROR_
+#include_next <mach_error.h>
+#ifndef _ISOMAC
+libc_hidden_proto (mach_error_type)
+#endif
+#endif