diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-21 07:46:32 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-21 07:46:32 +0000 |
commit | 163275ab6dce5a6c424324c8e979ac682f7c458e (patch) | |
tree | dad5b0f2a18a0887c12d035635f4c55ea69c2300 /libjava | |
parent | 7469e185ecf969240be014d29d9a7b8ffd544f17 (diff) | |
download | gcc-163275ab6dce5a6c424324c8e979ac682f7c458e.tar.gz |
* 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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/lang/mprec.c | 2 | ||||
-rw-r--r-- | libjava/no-threads.cc | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 664a2324291..8981ace8a8c 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2001-09-21 Richard Henderson <rth@redhat.com> + + * no-threads.cc (_Jv_ThreadStart): Remove names of unused arguments. + * java/lang/mprec.c (lo0bits): Fix paren typo. + 2001-09-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * posix-threads.cc (_Jv_ThreadInterrupt): Re-enable interrupt of diff --git a/libjava/java/lang/mprec.c b/libjava/java/lang/mprec.c index 12dd5d2617a..b7ec99f35de 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 fcfa713e45e..dc982430629 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"); } |