summaryrefslogtreecommitdiff
path: root/kern/eventcount.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:06 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:43:59 +0900
commit34918f3816982301834a313f655e13804d6b8ac5 (patch)
tree278a3c5d5945ad8c3f5cb09c91271c4543a382bf /kern/eventcount.h
parent4360c7b7b58bc364a8521687a727ec136d00c770 (diff)
kern/syscall_sw.c: remove forward declarations
* kern/eventcount.h (evc_wait_clear): Add prototype. * kern/ipc_mig.h: Include device/device_types.h. (syscall_vm_map, syscall_vm_allocate, syscall_vm_deallocate, syscall_task_create, syscall_task_terminate, syscall_task_suspend, syscall_task_set_special_port, syscall_mach_port_allocate, syscall_mach_port_deallocate, syscall_mach_port_insert_right, syscall_mach_port_allocate_name, syscall_thread_depress_abort, syscall_device_write_request, syscall_device_writev_request): Add prototypes. * kern/syscall_sw.c (syscall_vm_map, syscall_vm_allocate, syscall_vm_deallocate, syscall_task_create, syscall_task_terminate, syscall_task_suspend, syscall_task_set_special_port, syscall_mach_port_allocate, syscall_mach_port_deallocate, syscall_mach_port_insert_right, syscall_mach_port_allocate_name, syscall_thread_depress_abort, evc_wait, evc_wait_clear, syscall_device_write_request, syscall_device_writev_request): Remove forward declarations. Include kern/ipc_mig.h. Include kern/eventcount.h.
Diffstat (limited to 'kern/eventcount.h')
-rw-r--r--kern/eventcount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/eventcount.h b/kern/eventcount.h
index 4a4125c..f3ba047 100644
--- a/kern/eventcount.h
+++ b/kern/eventcount.h
@@ -53,6 +53,7 @@ extern void evc_init(evc_t ev),
/* kernel and user visible */
extern kern_return_t evc_wait(natural_t ev_id);
+extern kern_return_t evc_wait_clear(natural_t ev_id);
extern void evc_notify_abort (thread_t thread);