Skip to content

Commit c4c3516

Browse files
committed
dispatch: remove stray void
The functions are meant to be aliases that are exported. They should be defined to be the typeof the target function. This corrects the aliasing.
1 parent be92ae7 commit c4c3516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/queue.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -5765,11 +5765,11 @@ dispatch_channel_enqueue(dispatch_channel_t dch, void *ctxt)
57655765

57665766
#ifndef __APPLE__
57675767
#if __BLOCKS__
5768-
void __typeof__(dispatch_channel_async) dispatch_channel_async
5768+
__typeof__(dispatch_channel_async) dispatch_channel_async
57695769
__attribute__((__alias__("dispatch_async")));
57705770
#endif
57715771

5772-
void __typeof__(dispatch_channel_async_f) dispatch_channel_async_f
5772+
__typeof__(dispatch_channel_async_f) dispatch_channel_async_f
57735773
__attribute__((__alias__("dispatch_async_f")));
57745774
#endif
57755775

0 commit comments

Comments
 (0)