From 64727f50e23a744e1607cb6aff72f0813d56c6c9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 26 Sep 2017 21:29:14 +0200 Subject: Avoid exposing mach_port_set_qlimit * sysdeps/mach/pt-thread-alloc.c (create_wakeupmsg): Call __mach_port_set_qlimit instead of mach_port_set_qlimit. --- sysdeps/mach/pt-thread-alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/mach/pt-thread-alloc.c b/sysdeps/mach/pt-thread-alloc.c index 77aa933..76e5660 100644 --- a/sysdeps/mach/pt-thread-alloc.c +++ b/sysdeps/mach/pt-thread-alloc.c @@ -56,8 +56,8 @@ create_wakeupmsg (struct __pthread *thread) } /* No need to queue more than one wakeup message on this port. */ - mach_port_set_qlimit (__mach_task_self (), - thread->wakeupmsg.msgh_remote_port, 1); + __mach_port_set_qlimit (__mach_task_self (), + thread->wakeupmsg.msgh_remote_port, 1); return 0; } -- cgit v1.2.3