diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-16 02:35:17 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-06-16 02:50:30 +0200 |
commit | 7a646a93fadef8841c724501fe723b383069191e (patch) | |
tree | 6798c3649a7a74738f91657b4f8c9cab7ba93056 /mach | |
parent | c1b7586c544957998c0f53711fa91e5de72cc819 (diff) | |
download | glibc-7a646a93fadef8841c724501fe723b383069191e.zip glibc-7a646a93fadef8841c724501fe723b383069191e.tar.gz glibc-7a646a93fadef8841c724501fe723b383069191e.tar.bz2 |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |