From 7a646a93fadef8841c724501fe723b383069191e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 16 Jun 2018 02:35:17 +0200 Subject: hurd: Avoid PLT ref to __mach_msg * sysdeps/mach/include/mach.h (__mach_msg): Add hidden prototype. * mach/msg.c: Include . (__mach_msg): Add hidden definition. --- mach/msg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mach/msg.c') 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 #include +#include #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) -- cgit 1.4.1