gthr-solaris.h (__gthread_recursive_mutex_init_function): Use 0 instead of NULL.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 23 Nov 2004 14:40:23 +0000 (15:40 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 23 Nov 2004 14:40:23 +0000 (14:40 +0000)
* gthr-solaris.h (__gthread_recursive_mutex_init_function): Use
0 instead of NULL.

From-SVN: r91092

gcc/ChangeLog
gcc/gthr-solaris.h

index 23d9ee21417890e27b33beb15adac29b8c0b3548..1e5b3a647a289dee689fd9363f556c211df8ad05 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gthr-solaris.h (__gthread_recursive_mutex_init_function): Use
+       0 instead of NULL.
+
 2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-phinode.c (make_phi_node): Use a new variable,
index a102262190de85bf29f70419651b359cfe545773..ca13da26511e99f457a541dd01fc146e1a40383f 100644 (file)
@@ -478,7 +478,7 @@ __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex)
 {
   mutex->depth = 0;
   mutex->owner = (thread_t) 0;
-  return mutex_init (&mutex->actual, USYNC_THREAD, NULL);
+  return mutex_init (&mutex->actual, USYNC_THREAD, 0);
 }
 
 static inline int