aboutsummaryrefslogtreecommitdiff
path: root/include/lock-intern.h
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/lock-intern.h
parent8323a9022eea1b1d149eee6a8121a33c4d007bca (diff)
downloadglibc-c4375964dbf8194375a351b0d34ad9be5d4bda3b.tar
glibc-c4375964dbf8194375a351b0d34ad9be5d4bda3b.tar.gz
glibc-c4375964dbf8194375a351b0d34ad9be5d4bda3b.tar.bz2
glibc-c4375964dbf8194375a351b0d34ad9be5d4bda3b.zip
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/lock-intern.h')
-rw-r--r--include/lock-intern.h12
1 files changed, 12 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