From 059f928f8106eca4983bfa3ad17ff34146251a6a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Jul 1999 22:15:02 +0000 Subject: [PATCH] Correct last patch. --- linuxthreads/oldsemaphore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxthreads/oldsemaphore.c b/linuxthreads/oldsemaphore.c index 5a19a45b7f..6d56d1b4dc 100644 --- a/linuxthreads/oldsemaphore.c +++ b/linuxthreads/oldsemaphore.c @@ -37,7 +37,7 @@ typedef struct { static inline int sem_compare_and_swap(old_sem_t *sem, long oldval, long newval) { - return __pthread_compare_and_swap(&sem->sem_status, oldval, newval, &sem->sem_spinlock); + return compare_and_swap(&sem->sem_status, oldval, newval, &sem->sem_spinlock); } /* The state of a semaphore is represented by a long int encoding