summaryrefslogtreecommitdiff
path: root/libjava/gnu
diff options
context:
space:
mode:
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-17 03:53:45 +0000
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-17 03:53:45 +0000
commit9b960f2fe43c21255a12d17621b526ae7fabcb22 (patch)
tree0e0dbeccd53ea860f684fb4702ea823879032dd6 /libjava/gnu
parentfeeab1350d2430c99ee055573cbece1bb4d988dc (diff)
downloadgcc-9b960f2fe43c21255a12d17621b526ae7fabcb22.tar.gz
* include/java-stack.h (_Jv_FrameInfo): Remove union definition.
(_Jv_StackFrame): Remove commented out code. (_Jv_UnwindState): Remove superfluous 'typedef'. * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet compiler warnings. * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc (getCollectionUsage): Don't declare unused parameter n. (getMemoryManagerNames): Same. * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous 'typedef'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r--libjava/gnu/gcj/util/natGCInfo.cc2
-rw-r--r--libjava/gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/libjava/gnu/gcj/util/natGCInfo.cc b/libjava/gnu/gcj/util/natGCInfo.cc
index 7e5c6fbb845..8fe049aace0 100644
--- a/libjava/gnu/gcj/util/natGCInfo.cc
+++ b/libjava/gnu/gcj/util/natGCInfo.cc
@@ -66,7 +66,7 @@ extern "C" {
static int gc_ok = 1;
-typedef struct gc_debug_info
+struct gc_debug_info
{
int used;
int free;
diff --git a/libjava/gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc b/libjava/gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
index b7a250955ad..7bc0162d3d9 100644
--- a/libjava/gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
+++ b/libjava/gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
@@ -20,7 +20,7 @@ details. */
#include <java/lang/UnsupportedOperationException.h>
::java::lang::management::MemoryUsage *
-gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage(jstring n)
+gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage(jstring)
{
throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage (::java::lang::String *) not implemented"));
}
@@ -41,7 +41,7 @@ gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThreshold
JArray< ::java::lang::String *> *
-gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getMemoryManagerNames(jstring n)
+gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getMemoryManagerNames(jstring)
{
return (JArray<jstring>*)
JvNewObjectArray(1, &::java::lang::String::class$, JvNewStringLatin1("BoehmGC"));