about summary refs log tree commit diff
path: root/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 02:35:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 02:50:30 +0200
commit7a646a93fadef8841c724501fe723b383069191e (patch)
tree6798c3649a7a74738f91657b4f8c9cab7ba93056 /mach
parentc1b7586c544957998c0f53711fa91e5de72cc819 (diff)
downloadglibc-7a646a93fadef8841c724501fe723b383069191e.tar.gz
glibc-7a646a93fadef8841c724501fe723b383069191e.tar.xz
glibc-7a646a93fadef8841c724501fe723b383069191e.zip
hurd: Avoid PLT ref to __mach_msg
	* sysdeps/mach/include/mach.h (__mach_msg): Add hidden prototype.
	* mach/msg.c: Include <mach.h>.
	(__mach_msg): Add hidden definition.
Diffstat (limited to 'mach')
-rw-r--r--mach/msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mach/msg.c b/mach/msg.c
index bccad7fd26..8eb252a16e 100644
--- a/mach/msg.c
+++ b/mach/msg.c
@@ -25,6 +25,7 @@
  */
 #include <mach/port.h>
 #include <mach/message.h>
+#include <mach.h>
 
 #ifdef MACH_MSG_OVERWRITE
 /* In variants with this feature, the actual system call is
@@ -125,6 +126,7 @@ __mach_msg (mach_msg_header_t *msg,
   return ret;
 }
 weak_alias (__mach_msg, mach_msg)
+libc_hidden_def (__mach_msg)
 
 mach_msg_return_t
 __mach_msg_send	(mach_msg_header_t *msg)