From 2754fb1fb78c91e7ddb2f55899c7aebccfae6c0a Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Tue, 23 Nov 2004 14:40:23 +0000 Subject: * 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 --- gcc/ChangeLog | 5 +++++ gcc/gthr-solaris.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * gthr-solaris.h (__gthread_recursive_mutex_init_function): Use + 0 instead of NULL. + 2004-11-23 Kazu Hirata * 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 -- cgit v1.2.1