aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2007-06-09 17:32:42 +0000
committerKeith Seitz <kseitz@gcc.gnu.org>2007-06-09 17:32:42 +0000
commit408a86c03e9236cd848a21a8301e94c0f86edb62 (patch)
treea73104e258e7cec874f6200471b8ab898c2d53b9 /libjava
parent0da300cde35adbc97e9c2825a9490890cf21f25e (diff)
downloadgcc-408a86c03e9236cd848a21a8301e94c0f86edb62.zip
gcc-408a86c03e9236cd848a21a8301e94c0f86edb62.tar.gz
gcc-408a86c03e9236cd848a21a8301e94c0f86edb62.tar.bz2
dummyagent.c (Agent_OnLoad): Add missing return value.
* testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad): Add missing return value. From-SVN: r125594
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/testsuite/libjava.jvmti/dummyagent.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 357c157..f9efe62 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-09 Keith Seitz <keiths@redhat.com>
+
+ * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
+ Add missing return value.
+
2007-06-03 Matthias Klose <doko@ubuntu.com>
* java/io/natFileWin32.cc (setFilePermissions): New (stub only).
diff --git a/libjava/testsuite/libjava.jvmti/dummyagent.c b/libjava/testsuite/libjava.jvmti/dummyagent.c
index 9e704a0..96541b9 100644
--- a/libjava/testsuite/libjava.jvmti/dummyagent.c
+++ b/libjava/testsuite/libjava.jvmti/dummyagent.c
@@ -5,5 +5,6 @@ Agent_OnLoad (JavaVM *vm, char *options, void *reserved)
{
// nothing -- this is just a stub to get JVMTI properly
// initialized
+ return 0;
}