X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..d26ffc64f583ab2d29df48f13518685602bc8832:/libsyscall/mach/slot_name.c diff --git a/libsyscall/mach/slot_name.c b/libsyscall/mach/slot_name.c index fa733527c..180b97b45 100644 --- a/libsyscall/mach/slot_name.c +++ b/libsyscall/mach/slot_name.c @@ -46,23 +46,28 @@ #include #include -kern_return_t msg_rpc(void) { +kern_return_t +msg_rpc(void) { return KERN_FAILURE; } -kern_return_t msg_send(void) { +kern_return_t +msg_send(void) { return KERN_FAILURE; } -kern_return_t msg_receive(void) { +kern_return_t +msg_receive(void) { return KERN_FAILURE; } -mach_port_t task_self_(void) { +mach_port_t +task_self_(void) { return mach_task_self(); } -mach_port_t host_self(void) { +mach_port_t +host_self(void) { return mach_host_self(); }