+2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
+
+ * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
+ attribute.
+ (_Jv_JVMTI_ResumeThread): Likewise.
+ (_Jv_JVMTI_DisposeEnvironment): Likewise.
+
2006-07-21 Mohan Embar <gnustuff@thisiscool.com>
* gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
#define THREAD_CHECK_IS_ALIVE(thread) \
if (!thread->isAlive ()) return JVMTI_ERROR_THREAD_NOT_ALIVE;
-static jvmtiError
+static jvmtiError JNICALL
_Jv_JVMTI_SuspendThread (MAYBE_UNUSED jvmtiEnv *env, jthread thread)
{
using namespace java::lang;
return JVMTI_ERROR_NONE;
}
-static jvmtiError
+static jvmtiError JNICALL
_Jv_JVMTI_ResumeThread (MAYBE_UNUSED jvmtiEnv *env, jthread thread)
{
using namespace java::lang;
#define RESERVED NULL
#define UNIMPLEMENTED NULL
-static jvmtiError
+static jvmtiError JNICALL
_Jv_JVMTI_DisposeEnvironment (jvmtiEnv *env)
{
// All we need to do is free memory allocated by _Jv_GetJVMTIEnv