jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL attribute.

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
This commit is contained in:
Mohan Embar 2006-07-23 23:59:24 +00:00 committed by Mohan Embar
parent 51206762db
commit 3201e73d96
2 changed files with 10 additions and 3 deletions

View 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

View 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