summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/cancel.c')
-rw-r--r--cpukit/posix/src/cancel.c6
1 files changed, 3 insertions, 3 deletions
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();
}