@@ -10,6 +10,11 @@
* 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/.
+ * 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.
2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
@@ -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
@@ -1,4 +1,6 @@
#ifndef _MACH_H
#include_next <mach.h>
+#ifndef _ISOMAC
libc_hidden_proto (__mach_msg_destroy)
#endif
+#endif
@@ -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
@@ -1,4 +1,6 @@
#ifndef _MACH_ERROR_
#include_next <mach_error.h>
+#ifndef _ISOMAC
libc_hidden_proto (mach_error_type)
#endif
+#endif