diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 1999-06-20 22:41:41 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-06-20 22:41:41 -0600 |
commit | 6000b42b218b075fe08b1cb9c6c7e43d595e6ac9 (patch) | |
tree | 671dfef28dd8068c6e853ca42a5710b12af33932 /libobjc/init.c | |
parent | f2fb2b0991612eb46a757c60b115193143aff453 (diff) | |
download | gcc-6000b42b218b075fe08b1cb9c6c7e43d595e6ac9.zip gcc-6000b42b218b075fe08b1cb9c6c7e43d595e6ac9.tar.gz gcc-6000b42b218b075fe08b1cb9c6c7e43d595e6ac9.tar.bz2 |
init.c (__objc_force_linking): Make global.
�
* init.c (__objc_force_linking): Make global.
From-SVN: r27638
Diffstat (limited to 'libobjc/init.c')
-rw-r--r-- | libobjc/init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libobjc/init.c b/libobjc/init.c index f1fea81..954fc92 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 |