From 6077fe6e4d860f5fc53c49a4266d50437f3a2817 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Jul 1998 13:42:26 +0000 Subject: Update. 1998-07-09 13:39 Ulrich Drepper * Versions: Add __pthread_mutexattr_gettype and __pthread_mutexattr_settype. * lockfile.c: Use __pthread_mutexattr_settype instead of __pthread_mutexattr_setkind_np. * mutex.c: Define __pthread_mutexattr_gettype and __pthread_mutexattr_settype. * weak.c: Likewise. --- linuxthreads/lockfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linuxthreads/lockfile.c') diff --git a/linuxthreads/lockfile.c b/linuxthreads/lockfile.c index b0cb2ca006..0c9cf27591 100644 --- a/linuxthreads/lockfile.c +++ b/linuxthreads/lockfile.c @@ -1,5 +1,5 @@ /* lockfile - Handle locking and unlocking of stream. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -77,7 +77,7 @@ __fresetlockfiles (void) pthread_mutexattr_t attr; __pthread_mutexattr_init (&attr); - __pthread_mutexattr_setkind_np (&attr, PTHREAD_MUTEX_RECURSIVE_NP); + __pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE_NP); for (fp = _IO_list_all; fp != NULL; fp = fp->_chain) __pthread_mutex_init (fp->_lock, &attr); -- cgit v1.2.1