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
+2001-05-18 Alexandre Petit-Bianco <apbianco@redhat.com>
+
+ * include/posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'
+ (_Jv_MutexInit): Likewise.
+
2001-05-18 Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt.
inline void
_Jv_CondInit (_Jv_ConditionVariable_t *cv)
{
- cv->first = NULL;
+ cv->first = 0;
}
//
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;