aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 14:40:23 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 14:40:23 +0000
commit2754fb1fb78c91e7ddb2f55899c7aebccfae6c0a (patch)
tree1116b355c08f2bf56cb295a5c4391ed6e1bbd95c /gcc
parent08d1df96d77abaff247987d5c761292e4595299f (diff)
* gthr-solaris.h (__gthread_recursive_mutex_init_function): Use
0 instead of NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91092 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gthr-solaris.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 23d9ee21417..1e5b3a647a2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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,
diff --git a/gcc/gthr-solaris.h b/gcc/gthr-solaris.h
index a102262190d..ca13da26511 100644
--- a/gcc/gthr-solaris.h
+++ b/gcc/gthr-solaris.h
@@ -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