no-threads.h (_Jv_ThreadDestroyData): Removed argument name.
authorTom Tromey <tromey@redhat.com>
Wed, 1 Dec 2004 21:44:09 +0000 (21:44 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 1 Dec 2004 21:44:09 +0000 (21:44 +0000)
* include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
name.
(_Jv_ThreadRegister): Likewise.
(_Jv_MutexCheckMonitor): Likewise.

* link.cc: Include limits.h.

From-SVN: r91581

libjava/ChangeLog
libjava/include/no-threads.h
libjava/link.cc

index d62eaa4414814967538d4fd2d3c9902d747ad1ee..2317f6ea79ea834102c4cda38942d4375ba39a22 100644 (file)
@@ -1,3 +1,12 @@
+2004-12-01  Tom Tromey  <tromey@redhat.com>
+
+       * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
+       name.
+       (_Jv_ThreadRegister): Likewise.
+       (_Jv_MutexCheckMonitor): Likewise.
+
+       * link.cc: Include limits.h.
+
 2004-12-01  Bryce McKinlay  <mckinlay@redhat.com>
 
        PR libgcj/18699
index 793cfadbf1bc3a39cd80c06a91b014dd88ec5867..638ecf1abe2f46c2a0f76b04d275066b3719577c 100644 (file)
@@ -1,7 +1,7 @@
 // -*- c++ -*-
 // no-threads.h - Defines for using no threads.
 
-/* Copyright (C) 1998, 1999  Free Software Foundation
+/* Copyright (C) 1998, 1999, 2004  Free Software Foundation
 
    This file is part of libgcj.
 
@@ -75,7 +75,7 @@ _Jv_CondNotifyAll (_Jv_ConditionVariable_t *, _Jv_Mutex_t *)
 // Mutexes.
 //
 
-inline int _Jv_MutexCheckMonitor (_Jv_Mutex_t *mu)
+inline int _Jv_MutexCheckMonitor (_Jv_Mutex_t *)
 {
   return 0;
 }
@@ -111,7 +111,7 @@ _Jv_Thread_t *
 _Jv_ThreadInitData (java::lang::Thread *);
 
 inline void
-_Jv_ThreadDestroyData (_Jv_Thread_t *data)
+_Jv_ThreadDestroyData (_Jv_Thread_t *)
 {
 }
 
@@ -133,7 +133,7 @@ _Jv_ThreadSetPriority (_Jv_Thread_t *, jint)
 }
 
 inline void
-_Jv_ThreadRegister (_Jv_Thread_t *data)
+_Jv_ThreadRegister (_Jv_Thread_t *)
 {
 }
 
index 2c5bd59fe82c57d67bbf3be81287ed54eeb571df..46d8586765c5e2ea5d33cb5056ef354a5e876215 100644 (file)
@@ -18,6 +18,7 @@ details.  */
 #include <jvm.h>
 #include <gcj/cni.h>
 #include <string.h>
+#include <limits.h>
 #include <java-cpool.h>
 #include <execution.h>
 #include <java/lang/Class.h>