From 4706520a97d86caff6fbc4e23b185d39d958f6ff Mon Sep 17 00:00:00 2001 From: Frederik Seiffert Date: Tue, 19 Mar 2019 14:29:42 +0100 Subject: [PATCH] Fixed conflicting method signature. --- src/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue.c b/src/queue.c index 83aa8ec20..28afc17d1 100644 --- a/src/queue.c +++ b/src/queue.c @@ -7303,7 +7303,7 @@ gettid(void) static void (*_dispatch_thread_detach_callback)(void); void -_dispatch_install_thread_detach_callback(dispatch_function_t cb) +_dispatch_install_thread_detach_callback(void (*cb)(void)) { if (os_atomic_xchg(&_dispatch_thread_detach_callback, cb, relaxed)) { DISPATCH_CLIENT_CRASH(0, "Installing a thread detach callback twice");