summaryrefslogtreecommitdiff
path: root/libjava/jvmti.cc
diff options
context:
space:
mode:
authormembar <membar@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-23 23:59:24 +0000
committermembar <membar@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-23 23:59:24 +0000
commita8916fc15d8375ed837c479c02b0417f553c3065 (patch)
tree072850a9cc09faa5fa90f88d95b11ee26be4a30a /libjava/jvmti.cc
parent17933c7b9262c36514be09ac7261cf3fdb45ebe6 (diff)
downloadgcc-a8916fc15d8375ed837c479c02b0417f553c3065.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115692 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jvmti.cc')
-rw-r--r--libjava/jvmti.cc6
1 files changed, 3 insertions, 3 deletions
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