X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/70ad1dc8a19d6edd9b97aa81f32cfd65758ae97d..28300737d9bfa684aac372729e0148b22c4ded2b:/libdarwin/mach.c diff --git a/libdarwin/mach.c b/libdarwin/mach.c index 08bf794..8a07d04 100644 --- a/libdarwin/mach.c +++ b/libdarwin/mach.c @@ -361,7 +361,7 @@ os_mach_port_copy_description(mach_port_t p) // libsystem_darwin. The long-term plan is to move assumes() and assert() // functionality into libdarwin anyway. void -os_assert_mach(const char *op, kern_return_t kr) +(os_assert_mach)(const char *op, kern_return_t kr) { kern_return_t real_kr = (kern_return_t)(kr & (~MACH_MSG_MASK)); kern_return_t extra = (kern_return_t)(kr & MACH_MSG_MASK);