Skip to content

Commit a6ede63

Browse files
committed
update stubs and typedefs after merge of pull-request 2 from master
1 parent f38ebb9 commit a6ede63

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

os/linux_base.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ typedef uint32_t dispatch_mach_t;
3131

3232
typedef uint32_t dispatch_mach_reason_t;
3333

34+
typedef uint32_t voucher_activity_mode_t;
35+
36+
typedef uint32_t voucher_activity_trace_id_t;
37+
38+
typedef uint32_t voucher_activity_id_t;
39+
40+
typedef uint32_t _voucher_activity_buffer_hook_t;;
41+
42+
typedef uint32_t voucher_activity_flag_t;
3443

3544
typedef struct
3645
{

src/stubs.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66
//void dispatch_source_set_timer() { }
77
//void dispatch_resume() { }
88
//void dispatch_main() { }
9-
void _voucher_create_accounting_voucher() { }
109
void pthread_workqueue_attr_destroy_np() { }
1110
void dispatch_timer__program_semaphore() { }
1211
void kqueue() { }
1312
void _dispatch_mach_msg_dispose() { }
1413
void dispatch_timer__wake_semaphore() { }
1514
void _dispatch_mach_probe() { }
16-
void voucher_copy() { }
1715
void _dispatch_block_create() { }
1816
void _dispatch_mach_invoke() { }
1917
void _dispatch_mach_msg_debug() { }
@@ -22,26 +20,21 @@ void TRASHIT() { }
2220
void _dispatch_mach_msg_invoke() { }
2321
void pthread_workqueue_attr_setovercommit_np() { }
2422
void _dispatch_runloop_queue_probe() { }
25-
void _voucher_thread_cleanup() { }
26-
void _dispatch_continuation_free_to_heap() { }
2723
void _dispatch_runloop_queue_xref_dispose() { }
2824
void pthread_workqueue_attr_setqueuepriority_np() { }
2925
void dispatch_timer__configure_semaphore() { }
30-
void _voucher_init() { }
3126
void strlcpy() { }
3227
void _dispatch_runloop_queue_dispose() { }
3328
void kevent64() { }
3429
void mach_error_string() { }
3530
void pthread_workqueue_additem_np() { }
3631
void _dispatch_block_special_invoke() { }
37-
void _dispatch_continuation_alloc_from_heap() { }
3832
void dispatch_timer__fire_semaphore() { }
3933
void mach_vm_deallocate() { }
4034
void pthread_mach_thread_np() { }
4135
void pthread_workqueue_create_np() { }
4236
void mach_task_self() { }
4337
void pthread_workqueue_attr_init_np() { }
44-
void _voucher_atfork_child() { }
4538
void sysctlbyname() { }
4639

4740
pthread_key_t dispatch_voucher_key;

0 commit comments

Comments
 (0)