From: Mohan Embar Date: Sun, 23 Jul 2006 23:59:24 +0000 (+0000) Subject: jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3201e73d96ae8bd6425828a807987f35f1f7bd32;p=gcc.git jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute. 2006-07-23 Mohan Embar * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute. (_Jv_JVMTI_ResumeThread): Likewise. (_Jv_JVMTI_DisposeEnvironment): Likewise. From-SVN: r115692 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a1a208daa41..93f2bd3efa1 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2006-07-23 Mohan Embar + + * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL + attribute. + (_Jv_JVMTI_ResumeThread): Likewise. + (_Jv_JVMTI_DisposeEnvironment): Likewise. + 2006-07-21 Mohan Embar * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear diff --git a/libjava/jvmti.cc b/libjava/jvmti.cc index 8c2b294bc38..82519476e75 100644 --- a/libjava/jvmti.cc +++ b/libjava/jvmti.cc @@ -29,7 +29,7 @@ details. */ #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; @@ -45,7 +45,7 @@ _Jv_JVMTI_SuspendThread (MAYBE_UNUSED jvmtiEnv *env, jthread thread) return JVMTI_ERROR_NONE; } -static jvmtiError +static jvmtiError JNICALL _Jv_JVMTI_ResumeThread (MAYBE_UNUSED jvmtiEnv *env, jthread thread) { using namespace java::lang; @@ -64,7 +64,7 @@ _Jv_JVMTI_ResumeThread (MAYBE_UNUSED jvmtiEnv *env, jthread thread) #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