jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute.
authorMohan Embar <gnustuff@thisiscool.com>
Sun, 23 Jul 2006 23:59:24 +0000 (23:59 +0000)
committerMohan Embar <membar@gcc.gnu.org>
Sun, 23 Jul 2006 23:59:24 +0000 (23:59 +0000)
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.

From-SVN: r115692

libjava/ChangeLog
libjava/jvmti.cc

index a1a208daa413c063a116c8db1c7413cf0aa4145c..93f2bd3efa151affbf37db975f06e781a2a36830 100644 (file)
@@ -1,3 +1,10 @@
+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
index 8c2b294bc3819493e02f276f9d42ed332aa9bfc7..82519476e75a74b4362ea94585812f2116e9e11f 100644 (file)
@@ -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