diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 14:40:23 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 14:40:23 +0000 |
commit | 2754fb1fb78c91e7ddb2f55899c7aebccfae6c0a (patch) | |
tree | 1116b355c08f2bf56cb295a5c4391ed6e1bbd95c /gcc/gthr-solaris.h | |
parent | 08d1df96d77abaff247987d5c761292e4595299f (diff) | |
download | gcc-2754fb1fb78c91e7ddb2f55899c7aebccfae6c0a.tar.gz |
* 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/gthr-solaris.h')
-rw-r--r-- | gcc/gthr-solaris.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |