Commit 6000b42b by John David Anglin Committed by Jeff Law

init.c (__objc_force_linking): Make global.

�
        * init.c (__objc_force_linking): Make global.

From-SVN: r27638
parent f2fb2b09
Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
* init.c (__objc_force_linking): Make global.
Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com) Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
* configure.in (AC_EXEEXT): Remove call. * configure.in (AC_EXEEXT): Remove call.
......
...@@ -368,16 +368,16 @@ class_is_subclass_of_class (Class class, Class superclass) ...@@ -368,16 +368,16 @@ class_is_subclass_of_class (Class class, Class superclass)
superclasses are not yet know to the runtime. */ superclasses are not yet know to the runtime. */
static struct objc_list* unresolved_classes = 0; 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) __objc_force_linking (void)
{ {
extern void __objc_linking (void); extern void __objc_linking (void);
__objc_linking (); __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 /* Run through the statics list, removing modules as soon as all its statics
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment