]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
init.c (__objc_force_linking): Make global.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Mon, 21 Jun 1999 04:41:41 +0000 (22:41 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 21 Jun 1999 04:41:41 +0000 (22:41 -0600)

        * init.c (__objc_force_linking): Make global.

From-SVN: r27638

libobjc/ChangeLog
libobjc/init.c

index f4002b928ea162d355d4cb00a590dafd9f8e2fa3..6591f75cc2829917d81c2f9e4d89d4497887253a 100644 (file)
@@ -1,3 +1,7 @@
+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)
 
        * configure.in (AC_EXEEXT): Remove call.
index f1fea8123186370aee124ba5d8714bfb9b5e49bf..954fc9240ae7f0f15a47fa2162a35e194b220e8b 100644 (file)
@@ -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