From 19c6b0171eb145ab09968331b7ecee9ee06cef08 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 6 Dec 2005 01:08:18 +0000 Subject: use the internal pthread_mutex_init() --- libpthread/linuxthreads.old/lockfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads.old/lockfile.c b/libpthread/linuxthreads.old/lockfile.c index b0f41c98a..7bd2155ac 100644 --- a/libpthread/linuxthreads.old/lockfile.c +++ b/libpthread/linuxthreads.old/lockfile.c @@ -33,7 +33,7 @@ __fresetlockfiles (void) pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) - pthread_mutex_init(&fp->__lock, &attr); + __pthread_mutex_init(&fp->__lock, &attr); pthread_mutexattr_destroy(&attr); } -- cgit v1.2.3