Skip to content

Commit f20349f

Browse files
Merge pull request #457 from triplef/fix-signatures
Fixed conflicting method signature for _dispatch_install_thread_detach_callback()
2 parents 7a74af4 + 4706520 commit f20349f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7331,7 +7331,7 @@ gettid(void)
73317331
static void (*_dispatch_thread_detach_callback)(void);
73327332

73337333
void
7334-
_dispatch_install_thread_detach_callback(dispatch_function_t cb)
7334+
_dispatch_install_thread_detach_callback(void (*cb)(void))
73357335
{
73367336
if (os_atomic_xchg(&_dispatch_thread_detach_callback, cb, relaxed)) {
73377337
DISPATCH_CLIENT_CRASH(0, "Installing a thread detach callback twice");

0 commit comments

Comments
 (0)