aboutsummaryrefslogtreecommitdiff
path: root/libobjc/sendmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/sendmsg.c')
-rw-r--r--libobjc/sendmsg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index 1703743cab4..8e347dfede3 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -104,6 +104,10 @@ static struct objc_method * search_for_method_in_hierarchy (Class class, SEL sel
struct objc_method * search_for_method_in_list (struct objc_method_list * list, SEL op);
id nil_method (id, SEL);
+/* Make sure this inline function is exported regardless of GNU89 or C99
+ inlining semantics as it is part of the libobjc ABI. */
+extern IMP __objc_get_forward_imp (id, SEL);
+
/* Given a selector, return the proper forwarding implementation. */
inline
IMP
@@ -320,6 +324,10 @@ get_implementation (id receiver, Class class, SEL sel)
return res;
}
+/* Make sure this inline function is exported regardless of GNU89 or C99
+ inlining semantics as it is part of the libobjc ABI. */
+extern IMP get_imp (Class, SEL);
+
inline
IMP
get_imp (Class class, SEL sel)