aboutsummaryrefslogtreecommitdiff
path: root/libjava
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
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')
-rw-r--r--libjava/ChangeLog7
-rw-r--r--libjava/jvmti.cc6
2 files changed, 10 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index a1a208d..93f2bd3 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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
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