From 874297f3bea7761cf05ae26540b7a9e21d4a6e1d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 10:01:03 +0000 Subject: Remove stray white spaces. --- cpukit/posix/src/cancel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/posix/src/cancel.c') diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c index f1310d5ab1..2b72be4aef 100644 --- a/cpukit/posix/src/cancel.c +++ b/cpukit/posix/src/cancel.c @@ -35,7 +35,7 @@ int pthread_cancel( * Don't even think about deleting a resource from an ISR. */ - if ( _ISR_Is_in_progress() ) + if ( _ISR_Is_in_progress() ) return EPROTO; the_thread = _POSIX_Threads_Get( thread, &location ); @@ -49,7 +49,7 @@ int pthread_cancel( thread_support->cancelation_requested = 1; - if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && + if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS ) { _POSIX_Threads_cancel_run( the_thread ); } @@ -57,6 +57,6 @@ int pthread_cancel( _Thread_Enable_dispatch(); return 0; } - + return POSIX_BOTTOM_REACHED(); } -- cgit v1.2.3