public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: libc-alpha@sourceware.org
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [hurd,commited] hurd: Fix hurd installed headers test
Date: Thu, 19 Apr 2018 22:17:00 -0000	[thread overview]
Message-ID: <20180419221726.13560-1-samuel.thibault@ens-lyon.org> (raw)

	* 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.
---
 ChangeLog                          | 4 ++++
 sysdeps/hurd/include/hurd.h        | 2 ++
 sysdeps/hurd/include/hurd/fd.h     | 4 +++-
 sysdeps/hurd/include/hurd/signal.h | 2 ++
 4 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 253f98332b..e2ccfc91fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -84,6 +84,10 @@
 	[__USE_XOPEN] (OFDEL): New macro.
 	[__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
 	* bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
+	* 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.
 
 2018-04-18  Joseph Myers  <joseph@codesourcery.com>
 
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
-- 
2.17.0

                 reply	other threads:[~2018-04-19 22:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180419221726.13560-1-samuel.thibault@ens-lyon.org \
    --to=samuel.thibault@ens-lyon.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).