Hi,

as I've checked in the latest eclipse patch, I oversaw a small bit of breakage.
Attached is a small, but necessary compilation fix. If noone checks it in
before me, I'll do it tonight.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
Index: kaffe/kaffevm/external.c
===================================================================
RCS file: /cvs/kaffe/kaffe/kaffe/kaffevm/external.c,v
retrieving revision 1.47
diff -u -r1.47 external.c
--- kaffe/kaffevm/external.c	7 Jul 2003 18:02:16 -0000	1.47
+++ kaffe/kaffevm/external.c	8 Jul 2003 13:28:16 -0000
@@ -217,6 +217,7 @@
 {
 	struct _libHandle *lib;
 	int index;
+	void *func;
 
 	/* Find a library handle.  If we find the library has already
 	 * been loaded, don't bother to get it again, just increase the
@@ -319,7 +320,7 @@
 	feedbackLibrary(path, true);
 #endif
 
-	void *func = loadNativeLibrarySym("JNI_OnLoad");
+	func = loadNativeLibrarySym("JNI_OnLoad");
 	if (func != NULL) {
 	    JavaVM *jvm = &Kaffe_JavaVM;
 	    jint vers = ((jint(JNICALL *)(JavaVM *, void *))func)(jvm, NULL);

Reply via email to