summary refs log tree commit diff
path: root/linuxthreads/lockfile.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-09 13:42:26 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-09 13:42:26 +0000
commit6077fe6e4d860f5fc53c49a4266d50437f3a2817 (patch)
tree6d32d596c22d409fe3615d7d5980a56315317d69 /linuxthreads/lockfile.c
parent4bae55673314ecad6127cc156b1e5e5bb3c88b57 (diff)
downloadglibc-6077fe6e4d860f5fc53c49a4266d50437f3a2817.tar.gz
glibc-6077fe6e4d860f5fc53c49a4266d50437f3a2817.tar.xz
glibc-6077fe6e4d860f5fc53c49a4266d50437f3a2817.zip
Update.
1998-07-09 13:39  Ulrich Drepper  <drepper@cygnus.com>

	* 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.
Diffstat (limited to 'linuxthreads/lockfile.c')
-rw-r--r--linuxthreads/lockfile.c4
1 files changed, 2 insertions, 2 deletions
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);