Skip to content

Commit f38ebb9

Browse files
committed
remove workaround; type now defined in proper header file
1 parent e0f0522 commit f38ebb9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/inline_internal.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -513,18 +513,6 @@ _dispatch_queue_get_bound_thread(dispatch_queue_t dq)
513513
return dq->dq_thread;
514514
}
515515

516-
#if __LINUX_PORT_HDD__
517-
// START HACK: DAVE. These types are not defined anywhere in libdispatch sources,
518-
// so make something plausible up...
519-
typedef struct dispatch_pthread_root_queue_observer_hooks_s {
520-
void (*queue_will_execute)(dispatch_queue_t);
521-
void (*queue_did_execute)(dispatch_queue_t);
522-
} dispatch_pthread_root_queue_observer_hooks_s;
523-
524-
typedef struct dispatch_pthread_root_queue_observer_hooks_s *
525-
dispatch_pthread_root_queue_observer_hooks_t;
526-
#endif
527-
528516
DISPATCH_ALWAYS_INLINE
529517
static inline dispatch_pthread_root_queue_observer_hooks_t
530518
_dispatch_get_pthread_root_queue_observer_hooks(void)

0 commit comments

Comments
 (0)