aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-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 0000000..e42ad17
--- /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 0000000..b4c2f45
--- /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 0000000..b027237
--- /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 0000000..de1c4ca
--- /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