From 163275ab6dce5a6c424324c8e979ac682f7c458e Mon Sep 17 00:00:00 2001 From: rth Date: Fri, 21 Sep 2001 07:46:32 +0000 Subject: [PATCH] * no-threads.cc (_Jv_ThreadStart): Remove names of unused arguments. * java/lang/mprec.c (lo0bits): Fix paren typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45724 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 5 +++++ libjava/java/lang/mprec.c | 2 +- libjava/no-threads.cc | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 664a232..8981ace 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2001-09-21 Richard Henderson + + * no-threads.cc (_Jv_ThreadStart): Remove names of unused arguments. + * java/lang/mprec.c (lo0bits): Fix paren typo. + 2001-09-20 Bryce McKinlay * posix-threads.cc (_Jv_ThreadInterrupt): Re-enable interrupt of diff --git a/libjava/java/lang/mprec.c b/libjava/java/lang/mprec.c index 12dd5d2..b7ec99f 100644 --- a/libjava/java/lang/mprec.c +++ b/libjava/java/lang/mprec.c @@ -296,7 +296,7 @@ _DEFUN (lo0bits, (y), unsigned long *y) { k++; x >>= 1; - if (!x & 1) + if (!(x & 1)) return 32; } *y = x; diff --git a/libjava/no-threads.cc b/libjava/no-threads.cc index fcfa713..dc98243 100644 --- a/libjava/no-threads.cc +++ b/libjava/no-threads.cc @@ -28,8 +28,7 @@ _Jv_ThreadInitData (java::lang::Thread * thread) } void -_Jv_ThreadStart (java::lang::Thread *thread, _Jv_Thread_t *, - _Jv_ThreadStartFunc *meth) +_Jv_ThreadStart (java::lang::Thread *, _Jv_Thread_t *, _Jv_ThreadStartFunc *) { JvFail ("Thread.start called but threads not available"); } -- 2.7.4