X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..527f99514973766e9c0382a4d8550dfb00f54939:/libsyscall/mach/semaphore.c?ds=sidebyside diff --git a/libsyscall/mach/semaphore.c b/libsyscall/mach/semaphore.c index 5d7b45e11..26a88594b 100644 --- a/libsyscall/mach/semaphore.c +++ b/libsyscall/mach/semaphore.c @@ -33,51 +33,48 @@ #include #include -kern_return_t semaphore_signal( - mach_port_t signal_semaphore) +kern_return_t +semaphore_signal(mach_port_t signal_semaphore) { return semaphore_signal_trap(signal_semaphore); } -kern_return_t semaphore_signal_all( - mach_port_t signal_semaphore) +kern_return_t +semaphore_signal_all(mach_port_t signal_semaphore) { return semaphore_signal_all_trap(signal_semaphore); } -kern_return_t semaphore_signal_thread( - mach_port_t signal_semaphore, - mach_port_t thread_act) +kern_return_t +semaphore_signal_thread(mach_port_t signal_semaphore, mach_port_t thread_act) { return semaphore_signal_thread_trap(signal_semaphore, thread_act); } -kern_return_t semaphore_wait ( - mach_port_t wait_semaphore) +kern_return_t +semaphore_wait(mach_port_t wait_semaphore) { return semaphore_wait_trap(wait_semaphore); } -kern_return_t semaphore_timedwait ( - mach_port_t wait_semaphore, - mach_timespec_t wait_time) +kern_return_t +semaphore_timedwait(mach_port_t wait_semaphore, mach_timespec_t wait_time) { return semaphore_timedwait_trap(wait_semaphore, wait_time.tv_sec, wait_time.tv_nsec); } -kern_return_t semaphore_wait_signal ( - mach_port_t wait_semaphore, - mach_port_t signal_semaphore) +kern_return_t +semaphore_wait_signal(mach_port_t wait_semaphore, mach_port_t signal_semaphore) { return semaphore_wait_signal_trap(wait_semaphore, signal_semaphore); } -kern_return_t semaphore_timedwait_signal ( - mach_port_t wait_semaphore, - mach_port_t signal_semaphore, - mach_timespec_t wait_time) +kern_return_t +semaphore_timedwait_signal(mach_port_t wait_semaphore, + mach_port_t signal_semaphore, + mach_timespec_t wait_time) { return semaphore_timedwait_signal_trap(wait_semaphore, signal_semaphore,