summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-18 02:07:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-18 02:07:17 +0200
commitc4375964dbf8194375a351b0d34ad9be5d4bda3b (patch)
tree5de7c531131be80145116348d78d0a44b2b355d0 /include
parent8323a9022eea1b1d149eee6a8121a33c4d007bca (diff)
downloadglibc-c4375964dbf8194375a351b0d34ad9be5d4bda3b.tar.gz
hurd: Fix spurious installation of headers defining hidden prototypes
* sysdeps/mach/include/lock-intern.h: Move to include/. * sysdeps/mach/include/mach.h: Move to include/. * sysdeps/mach/include/mach/mig_support.h: Move to include/mach/. * sysdeps/mach/include/mach_error.h: Move to include/.
Diffstat (limited to 'include')
-rw-r--r--include/lock-intern.h12
-rw-r--r--include/mach.h4
-rw-r--r--include/mach/mig_support.h6
-rw-r--r--include/mach_error.h4
4 files changed, 26 insertions, 0 deletions
diff --git a/include/lock-intern.h b/include/lock-intern.h
new file mode 100644
index 0000000000..d0767ab37b
--- /dev/null
+++ b/include/lock-intern.h
@@ -0,0 +1,12 @@
+#ifndef _LOCK_INTERN_H
+#include <mach/lock-intern.h>
+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
diff --git a/include/mach.h b/include/mach.h
new file mode 100644
index 0000000000..1f77100b6e
--- /dev/null
+++ b/include/mach.h
@@ -0,0 +1,4 @@
+#ifndef _MACH_H
+#include_next <mach.h>
+libc_hidden_proto (__mach_msg_destroy)
+#endif
diff --git a/include/mach/mig_support.h b/include/mach/mig_support.h
new file mode 100644
index 0000000000..7b9015d7e7
--- /dev/null
+++ b/include/mach/mig_support.h
@@ -0,0 +1,6 @@
+#ifndef _MACH_MIG_SUPPORT_H
+#include_next <mach/mig_support.h>
+libc_hidden_proto (__mig_get_reply_port)
+libc_hidden_proto (__mig_dealloc_reply_port)
+libc_hidden_proto (__mig_init)
+#endif
diff --git a/include/mach_error.h b/include/mach_error.h
new file mode 100644
index 0000000000..91463eb672
--- /dev/null
+++ b/include/mach_error.h
@@ -0,0 +1,4 @@
+#ifndef _MACH_ERROR_
+#include_next <mach_error.h>
+libc_hidden_proto (mach_error_type)
+#endif