Fix the declaration of pthread_mutexattr_gettype().

This commit is contained in:
Vincent Béron 2004-10-18 19:33:16 +00:00 committed by Alexandre Julliard
parent 21548cf02b
commit d17c162c4c
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ int __pthread_mutexattr_settype(pthread_mutexattr_t *attr, int kind)
}
strong_alias(__pthread_mutexattr_settype, pthread_mutexattr_settype);
int __pthread_mutexattr_gettype(pthread_mutexattr_t *attr, int *kind)
int __pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *kind)
{
*kind = PTHREAD_MUTEX_RECURSIVE;
return 0;