* java/lang/natRuntime.cc (lt_preloaded_symbols): Define as `extern'.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 14 Sep 2000 07:56:28 +0000 (07:56 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 14 Sep 2000 07:56:28 +0000 (07:56 +0000)
From-SVN: r36405

libjava/ChangeLog
libjava/java/lang/natRuntime.cc

index b2c825e9e7a0cb0d216fc43dceeb6f5e94555da1..b998b4a698ea69bf802dfc421cc2051019cabadc 100644 (file)
@@ -1,5 +1,7 @@
 2000-09-14  Alexandre Oliva  <aoliva@redhat.com>
 
+       * java/lang/natRuntime.cc (lt_preloaded_symbols): Define as `extern'.
+
        * defineclass.cc: Include alloca.h only if HAVE_ALLOCA_H.
        * java/lang/natDouble.cc: Likewise.
        * java/lang/reflect/natMethod.cc: Likewise.
index 93771651afeda2a7dcba24cd6ab94e81b4a20726..5ff7d2edacf02aef20c06c474686134a3dff921e 100644 (file)
@@ -26,7 +26,7 @@ details.  */
 
 /* FIXME: we don't always need this.  The next libtool will let us use
    AC_LTDL_PREOPEN to see if we do.  */
-const lt_dlsymlist lt_preloaded_symbols[1] = { { 0, 0 } };
+extern const lt_dlsymlist lt_preloaded_symbols[1] = { { 0, 0 } };
 
 // We keep track of all the libraries loaded by this application.  For
 // now we use them to look up symbols for JNI.  `libraries_size' holds