From 8f31c0eff575bb20505c16635bebee530af533d7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Sep 2003 07:41:51 +0000 Subject: Update. 2003-09-20 Ulrich Drepper * pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): Change type of DECR parameter to int. * pthreadP.h: Adjust prototype of __pthread_mutex_unlock_usercnt. --- nptl/pthread_mutex_unlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/pthread_mutex_unlock.c') diff --git a/nptl/pthread_mutex_unlock.c b/nptl/pthread_mutex_unlock.c index de820d7401..32bc2a4bc1 100644 --- a/nptl/pthread_mutex_unlock.c +++ b/nptl/pthread_mutex_unlock.c @@ -26,7 +26,7 @@ int internal_function attribute_hidden __pthread_mutex_unlock_usercnt (mutex, decr) pthread_mutex_t *mutex; - bool decr; + int decr; { switch (__builtin_expect (mutex->__data.__kind, PTHREAD_MUTEX_TIMED_NP)) { @@ -72,7 +72,7 @@ int __pthread_mutex_unlock (mutex) pthread_mutex_t *mutex; { - return __pthread_mutex_unlock_usercnt (mutex, true); + return __pthread_mutex_unlock_usercnt (mutex, 1); } strong_alias (__pthread_mutex_unlock, pthread_mutex_unlock) strong_alias (__pthread_mutex_unlock, __pthread_mutex_unlock_internal) -- cgit v1.2.3