aboutsummaryrefslogtreecommitdiff
path: root/libjava/jvmti.cc
diff options
context:
space:
mode:
authorMohan Embar <gnustuff@thisiscool.com>2006-07-23 23:59:24 +0000
committerMohan Embar <membar@gcc.gnu.org>2006-07-23 23:59:24 +0000
commit3201e73d96ae8bd6425828a807987f35f1f7bd32 (patch)
tree072850a9cc09faa5fa90f88d95b11ee26be4a30a /libjava/jvmti.cc
parent51206762dbbd57a1541ad58ade0eb90bcdf4a15f (diff)
downloadgcc-3201e73d96ae8bd6425828a807987f35f1f7bd32.zip
gcc-3201e73d96ae8bd6425828a807987f35f1f7bd32.tar.gz
gcc-3201e73d96ae8bd6425828a807987f35f1f7bd32.tar.bz2
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
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 8c2b294..8251947 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