summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-14 07:56:28 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-14 07:56:28 +0000
commit94069fafe5e6e30bddd2b7a595ce5dc4584e9e3c (patch)
tree2af92fbfde301db54569f7e0fe6bed6595610154
parentec99c8245dcc12f9590c367a445bbe53bb3fb615 (diff)
downloadppe42-gcc-94069fafe5e6e30bddd2b7a595ce5dc4584e9e3c.tar.gz
ppe42-gcc-94069fafe5e6e30bddd2b7a595ce5dc4584e9e3c.zip
* java/lang/natRuntime.cc (lt_preloaded_symbols): Define as `extern'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36405 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libjava/ChangeLog2
-rw-r--r--libjava/java/lang/natRuntime.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index b2c825e9e7a..b998b4a698e 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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.
diff --git a/libjava/java/lang/natRuntime.cc b/libjava/java/lang/natRuntime.cc
index 93771651afe..5ff7d2edacf 100644
--- a/libjava/java/lang/natRuntime.cc
+++ b/libjava/java/lang/natRuntime.cc
@@ -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
OpenPOWER on IntegriCloud