From c5896a459543725dbca49ee894fd85b2f105ce6f Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 20 Apr 2018 00:54:18 +0200 Subject: Revert "hurd: Fix mach installed headers test" This reverts commit d4379e0216d01fd1395b1f3b37255e3486760135: the proper headers are actually already getting installed. --- sysdeps/mach/include/lock-intern.h | 14 ++++++++++++++ sysdeps/mach/include/mach.h | 6 ++++++ sysdeps/mach/include/mach/mig_support.h | 8 ++++++++ sysdeps/mach/include/mach_error.h | 6 ++++++ 4 files changed, 34 insertions(+) create mode 100644 sysdeps/mach/include/lock-intern.h create mode 100644 sysdeps/mach/include/mach.h create mode 100644 sysdeps/mach/include/mach/mig_support.h create mode 100644 sysdeps/mach/include/mach_error.h (limited to 'sysdeps') 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 +#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 +#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 +#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 +#ifndef _ISOMAC +libc_hidden_proto (mach_error_type) +#endif +#endif -- cgit v1.2.3