summaryrefslogtreecommitdiff
path: root/libobjc/init.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-21 04:41:41 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-21 04:41:41 +0000
commit3dc3ad443f9b5847d5d576eea3eb97cc81c038ed (patch)
tree671dfef28dd8068c6e853ca42a5710b12af33932 /libobjc/init.c
parent3814d50a6e8a7499c25226aa454c47ac0205cc05 (diff)
downloadgcc-3dc3ad443f9b5847d5d576eea3eb97cc81c038ed.tar.gz
* init.c (__objc_force_linking): Make global. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27638 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/init.c')
-rw-r--r--libobjc/init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libobjc/init.c b/libobjc/init.c
index f1fea812318..954fc9240ae 100644
--- a/libobjc/init.c
+++ b/libobjc/init.c
@@ -368,16 +368,16 @@ class_is_subclass_of_class (Class class, Class superclass)
superclasses are not yet know to the runtime. */
static struct objc_list* unresolved_classes = 0;
-/* Static function used to reference the Object and NXConstantString classes.
+/* Extern function used to reference the Object and NXConstantString classes.
*/
-static void
+
+extern void __objc_force_linking (void);
+
+void
__objc_force_linking (void)
{
extern void __objc_linking (void);
__objc_linking ();
-
- /* Call the function to avoid compiler warning */
- __objc_force_linking ();
}
/* Run through the statics list, removing modules as soon as all its statics