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 --- cleanup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cleanup.c') diff --git a/cleanup.c b/cleanup.c index 39f8404..3b82876 100644 --- a/cleanup.c +++ b/cleanup.c @@ -73,7 +73,7 @@ ptw32_pop_cleanup (int execute) * ------------------------------------------------------ */ { - ptw32_cleanup_t *cleanup = NULL; + ptw32_cleanup_t *cleanup; cleanup = (ptw32_cleanup_t *) pthread_getspecific (ptw32_cleanupKey); @@ -106,7 +106,7 @@ ptw32_push_cleanup (ptw32_cleanup_t * cleanup, * popped and invoked with the argument 'arg' when * a) the thread exits by calling 'pthread_exit', * b) when the thread acts on a cancellation request, - * c) or when the thrad calls pthread_cleanup_pop with a nonzero + * c) or when the thread calls pthread_cleanup_pop with a nonzero * 'execute' argument * * PARAMETERS -- cgit v1.2.3