diff options
author | comex | 2015-07-16 00:55:19 -0400 |
---|---|---|
committer | comex | 2015-07-16 00:55:19 -0400 |
commit | dfd16cc1f759a103707ebd27743abc621486e131 (patch) | |
tree | e3ef16871039acb735bbf4179d299e8d8ea7d5a1 /lib/darwin/objc.c | |
parent | work around (incorrect, since it's not code) alignment warning (diff) | |
download | substitute-dfd16cc1f759a103707ebd27743abc621486e131.tar.gz |
style police
Diffstat (limited to 'lib/darwin/objc.c')
-rw-r--r-- | lib/darwin/objc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/darwin/objc.c b/lib/darwin/objc.c index d457581..0c265a9 100644 --- a/lib/darwin/objc.c +++ b/lib/darwin/objc.c @@ -39,7 +39,8 @@ struct tramp_info_page_entry { _Static_assert(TRAMP_INFO_PAGE_ENTRY_SIZE == sizeof(struct tramp_info_page_entry), "TRAMP_INFO_PAGE_ENTRY_SIZE"); _Static_assert(sizeof(struct tramp_info_page_header) + - TRAMPOLINES_PER_PAGE * sizeof(struct tramp_info_page_entry) <= _PAGE_SIZE, + TRAMPOLINES_PER_PAGE * sizeof(struct tramp_info_page_entry) + <= _PAGE_SIZE, "header+entries too big"); static pthread_mutex_t tramp_mutex = PTHREAD_MUTEX_INITIALIZER; @@ -189,7 +190,8 @@ int substitute_hook_objc_message(Class class, SEL selector, void *replacement, substitute_panic("%s: no superclass but the method didn't exist\n", __func__); } - ret = get_trampoline(class_getMethodImplementation, super, selector, old_ptr); + ret = get_trampoline(class_getMethodImplementation, super, + selector, old_ptr); if (created_imp_ptr) *created_imp_ptr = true; } |