aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-20 00:16:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-20 00:16:40 +0200
commit5dbfe13b35195cd1292b81787a0ef58db828c7d5 (patch)
tree39f8efa28d1d42a3c8d76f13648d737d0c47cac8 /sysdeps
parenta279b8ed9ba5cb4960e685d2e28d1c4997f760d1 (diff)
downloadglibc-5dbfe13b35195cd1292b81787a0ef58db828c7d5.tar
glibc-5dbfe13b35195cd1292b81787a0ef58db828c7d5.tar.gz
glibc-5dbfe13b35195cd1292b81787a0ef58db828c7d5.tar.bz2
glibc-5dbfe13b35195cd1292b81787a0ef58db828c7d5.zip
hurd: Fix hurd installed headers test
* sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden prototypes. * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise. * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/hurd/include/hurd.h2
-rw-r--r--sysdeps/hurd/include/hurd/fd.h4
-rw-r--r--sysdeps/hurd/include/hurd/signal.h2
3 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/hurd/include/hurd.h b/sysdeps/hurd/include/hurd.h
index f740e9de0f..d29f580d5b 100644
--- a/sysdeps/hurd/include/hurd.h
+++ b/sysdeps/hurd/include/hurd.h
@@ -1,5 +1,7 @@
#ifndef _HURD_H
#include_next <hurd.h>
+#ifndef _ISOMAC
libc_hidden_proto (_hurd_exec_paths)
libc_hidden_proto (_hurd_init)
#endif
+#endif
diff --git a/sysdeps/hurd/include/hurd/fd.h b/sysdeps/hurd/include/hurd/fd.h
index 643454f3f8..1f3ac380a0 100644
--- a/sysdeps/hurd/include/hurd/fd.h
+++ b/sysdeps/hurd/include/hurd/fd.h
@@ -1,10 +1,12 @@
#ifndef _HURD_FD_H
#include_next <hurd/fd.h>
+#ifndef _ISOMAC
libc_hidden_proto (_hurd_intern_fd)
libc_hidden_proto (_hurd_fd_error)
libc_hidden_proto (_hurd_fd_error_signal)
-#ifdef _HURD_FD_H_HIDDEN_DEF
+# ifdef _HURD_FD_H_HIDDEN_DEF
libc_hidden_def (_hurd_fd_error)
libc_hidden_def (_hurd_fd_error_signal)
+# endif
#endif
#endif
diff --git a/sysdeps/hurd/include/hurd/signal.h b/sysdeps/hurd/include/hurd/signal.h
index f3185f97db..1cb0adaa55 100644
--- a/sysdeps/hurd/include/hurd/signal.h
+++ b/sysdeps/hurd/include/hurd/signal.h
@@ -1,7 +1,9 @@
#ifndef _HURD_SIGNAL_H
#include_next <hurd/signal.h>
+#ifndef _ISOMAC
libc_hidden_proto (_hurd_exception2signal)
libc_hidden_proto (_hurd_intr_rpc_mach_msg)
libc_hidden_proto (_hurd_thread_sigstate)
libc_hidden_proto (_hurd_raise_signal)
#endif
+#endif