diff options
| author | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-23 23:59:24 +0000 |
|---|---|---|
| committer | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-23 23:59:24 +0000 |
| commit | a8916fc15d8375ed837c479c02b0417f553c3065 (patch) | |
| tree | 072850a9cc09faa5fa90f88d95b11ee26be4a30a /libjava | |
| parent | 17933c7b9262c36514be09ac7261cf3fdb45ebe6 (diff) | |
| download | ppe42-gcc-a8916fc15d8375ed837c479c02b0417f553c3065.tar.gz ppe42-gcc-a8916fc15d8375ed837c479c02b0417f553c3065.zip | |
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')
| -rw-r--r-- | libjava/ChangeLog | 7 | ||||
| -rw-r--r-- | libjava/jvmti.cc | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a1a208daa41..93f2bd3efa1 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 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 |

