From 290e2375ab94332ff3c69001cf7cf75f7a7b16e6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 9 Sep 2005 02:45:42 +0000 Subject: newer linuxthreads renamed the function invalid_handle() to nonexisting_handle() --- libpthread/linuxthreads/pthread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/linuxthreads/pthread.c') diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c index 4027d1b13..5b038acb8 100644 --- a/libpthread/linuxthreads/pthread.c +++ b/libpthread/linuxthreads/pthread.c @@ -632,7 +632,7 @@ int pthread_setschedparam(pthread_t thread, int policy, pthread_descr th; __pthread_lock(&handle->h_lock, NULL); - if (invalid_handle(handle, thread)) { + if (nonexisting_handle(handle, thread)) { __pthread_unlock(&handle->h_lock); return ESRCH; } @@ -655,7 +655,7 @@ int pthread_getschedparam(pthread_t thread, int *policy, int pid, pol; __pthread_lock(&handle->h_lock, NULL); - if (invalid_handle(handle, thread)) { + if (nonexisting_handle(handle, thread)) { __pthread_unlock(&handle->h_lock); return ESRCH; } -- cgit v1.2.3