OSDN Git Service

* gthr-solaris.h (__gthread_recursive_mutex_init_function): Use
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2004 14:40:23 +0000 (14:40 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2004 14:40:23 +0000 (14:40 +0000)
0 instead of NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91092 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gthr-solaris.h

index 23d9ee2..1e5b3a6 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 a102262..ca13da2 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