From 46cb54adc79bd9757b0d679ef50cc5246574ecab Mon Sep 17 00:00:00 2001 From: nicola Date: Sun, 19 Dec 2010 00:28:52 +0000 Subject: In libobjc/: 2010-12-19 Nicola Pero * init.c: Include objc-private/selector.h. Do not declare __sel_register_typed_name. * objc-private/selector.h (__sel_register_typed_name): Declare. * selector.c: Include objc-private/selector.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168039 138bc75d-0d04-0410-961f-82ee72b054a4 --- libobjc/init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libobjc/init.c') diff --git a/libobjc/init.c b/libobjc/init.c index ff47f8103f9..370dea9e0f6 100644 --- a/libobjc/init.c +++ b/libobjc/init.c @@ -32,6 +32,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "objc-private/objc-list.h" #include "objc-private/module-abi-8.h" #include "objc-private/runtime.h" +#include "objc-private/selector.h" /* For __sel_register_typed_name(). */ #include "objc-private/objc-sync.h" /* For __objc_sync_init() */ #include "objc-private/protocols.h" /* For __objc_protocols_init(), __objc_protocols_add_protocol() @@ -92,11 +93,6 @@ void (*_objc_load_callback) (Class class, struct objc_category *category); /* !T /* Are all categories/classes resolved? */ BOOL __objc_dangling_categories = NO; /* !T:UNUSED */ -/* TODO: This needs to go into objc-private/selector.h. */ -extern SEL -__sel_register_typed_name (const char *name, const char *types, - struct objc_selector *orig, BOOL is_const); - /* Sends +load to all classes and categories in certain situations. */ static void objc_send_load (void); -- cgit v1.2.3