From Macro Trudel <mtrudel@gmx.ch>:

* gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
        Use JNICALL.

From-SVN: r120946
This commit is contained in:
Keith Seitz
2007-01-19 01:19:04 +00:00
committed by Keith Seitz
parent f85242f0ce
commit 640f891823
2 changed files with 8 additions and 2 deletions
@@ -38,7 +38,7 @@ using namespace gnu::classpath::jdwp::event;
using namespace gnu::classpath::jdwp::util;
// Forward declarations
static void jdwpVMInitCB (jvmtiEnv *env, JNIEnv *jni_env, jthread thread);
static void JNICALL jdwpVMInitCB (jvmtiEnv *, JNIEnv *, jthread);
#define DEFINE_CALLBACK(Cb,Event) Cb.Event = jdwp ## Event ## CB
#define ENABLE_EVENT(Event,Thread) \
@@ -359,7 +359,7 @@ gnu::classpath::jdwp::VMVirtualMachine::getSourceFile (jclass clazz)
return NULL;
}
static void
static void JNICALL
jdwpVMInitCB (MAYBE_UNUSED jvmtiEnv *env, MAYBE_UNUSED JNIEnv *jni_env,
jthread thread)
{