diff options
author | Alexandre Petit-Bianco <apbianco@redhat.com> | 2001-05-18 22:43:00 -0700 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2001-05-18 22:43:00 -0700 |
commit | ec54a908e5fdac6ce663157b9cad121e1f593b58 (patch) | |
tree | dce82002da958289605177cb5805663934ad02cb /libjava/include/posix-threads.h | |
parent | 9e0e191b0f2a219b0d39d0f5681de09ebb2e0096 (diff) | |
download | gcc-ec54a908e5fdac6ce663157b9cad121e1f593b58.zip gcc-ec54a908e5fdac6ce663157b9cad121e1f593b58.tar.gz gcc-ec54a908e5fdac6ce663157b9cad121e1f593b58.tar.bz2 |
posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'
2001-05-18 Alexandre Petit-Bianco <apbianco@redhat.com>
* include/posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'
(_Jv_MutexInit): Likewise.
(http://gcc.gnu.org/ml/java-patches/2001-q2/msg00245.html )
From-SVN: r42303
Diffstat (limited to 'libjava/include/posix-threads.h')
-rw-r--r-- | libjava/include/posix-threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/include/posix-threads.h b/libjava/include/posix-threads.h index 75285ca..ca4bfa6 100644 --- a/libjava/include/posix-threads.h +++ b/libjava/include/posix-threads.h @@ -99,7 +99,7 @@ int _Jv_CondNotifyAll (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu); inline void _Jv_CondInit (_Jv_ConditionVariable_t *cv) { - cv->first = NULL; + cv->first = 0; } // @@ -109,7 +109,7 @@ _Jv_CondInit (_Jv_ConditionVariable_t *cv) inline void _Jv_MutexInit (_Jv_Mutex_t *mu) { - pthread_mutex_init (&mu->mutex, NULL); + pthread_mutex_init (&mu->mutex, 0); mu->count = 0; mu->owner = 0; |