From 6000b42b218b075fe08b1cb9c6c7e43d595e6ac9 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 20 Jun 1999 22:41:41 -0600 Subject: [PATCH] init.c (__objc_force_linking): Make global. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * init.c (__objc_force_linking): Make global. From-SVN: r27638 --- libobjc/ChangeLog | 4 ++++ libobjc/init.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index f4002b928ea..6591f75cc28 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +Mon Jun 21 05:40:15 1999 John David Anglin + + * 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. 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