summaryrefslogtreecommitdiff
path: root/libobjc/objc-private/runtime.h
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-22 00:05:57 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-22 00:05:57 +0000
commit3c691bc0d19e36dfef891edf2d555562f0085cbb (patch)
treeea41a9fe01c88393863408b47a7ab09d59036920 /libobjc/objc-private/runtime.h
parent5845bde6d25582738388abacbe37cc6633f17ea2 (diff)
downloadgcc-3c691bc0d19e36dfef891edf2d555562f0085cbb.tar.gz
In libobjc/:
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com> * objc-private/accessors.h: Removed 'extern "C"' guards. This file is never compiled with C++. * objc-private/hash.h: Same change. * objc-private/objc-list.h: Same change. * objc-private/objc-sync.h: Same change. * objc-private/protocols.h: Same change. * objc-private/runtime.h: Same change. * objc-private/sarray.h: Same change. * objc-private/selector.h: Same change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168149 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc-private/runtime.h')
-rw-r--r--libobjc/objc-private/runtime.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/libobjc/objc-private/runtime.h b/libobjc/objc-private/runtime.h
index 2c34add9064..f4ad2e7178e 100644
--- a/libobjc/objc-private/runtime.h
+++ b/libobjc/objc-private/runtime.h
@@ -48,10 +48,6 @@ objc/runtime.h. */
#include <stddef.h> /* so noone else will get system versions */
#include <assert.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
extern BOOL __objc_add_class_to_hash (Class); /* (objc-class.c) */
extern void __objc_init_class_tables (void); /* (objc-class.c) */
extern void __objc_init_dispatch_tables (void); /* (objc-dispatch.c) */
@@ -65,8 +61,8 @@ extern void __objc_init_class (Class class); /* init.c */
extern void class_add_method_list (Class, struct objc_method_list *);
/* Registering instance methods as class methods for root classes */
-extern void __objc_register_instance_methods_to_class(Class);
-extern struct objc_method * search_for_method_in_list(struct objc_method_list * list, SEL op);
+extern void __objc_register_instance_methods_to_class (Class);
+extern struct objc_method * search_for_method_in_list (struct objc_method_list * list, SEL op);
extern void
__objc_update_classes_with_methods (struct objc_method *method_a, struct objc_method *method_b); /* class.c */
@@ -80,8 +76,4 @@ extern int __objc_runtime_threads_alive;
BOOL __objc_responds_to (id object, SEL sel); /* for internal use only! */
extern void __objc_generate_gc_type_description (Class);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* not __objc_private_runtime_INCLUDE_GNU */