From ec8290acdaea21b16d98f1ef5d4ae8a28ab2109a Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 3 Nov 2004 01:08:41 +0000 Subject: Mutex, semaphore, thread ID, test suite changes - see ChangeLogs --- tests/cleanup1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/cleanup1.c') diff --git a/tests/cleanup1.c b/tests/cleanup1.c index 5397297..18518da 100644 --- a/tests/cleanup1.c +++ b/tests/cleanup1.c @@ -98,7 +98,6 @@ static void #ifdef __CLEANUP_C __cdecl #endif - increment_pop_count(void * arg) { int * c = (int *) arg; @@ -150,7 +149,7 @@ main() int i; pthread_t t[NUMTHREADS + 1]; - assert((t[0] = pthread_self()) != NULL); + assert((t[0] = pthread_self()).p != NULL); for (i = 1; i <= NUMTHREADS; i++) { -- cgit v1.2.3