summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cancel.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
commit874297f3bea7761cf05ae26540b7a9e21d4a6e1d (patch)
tree3f514864e20beb9becc81d77053abec90d281a1a /cpukit/posix/src/cancel.c
parentRemove stray white spaces. (diff)
downloadrtems-874297f3bea7761cf05ae26540b7a9e21d4a6e1d.tar.bz2
Remove stray white spaces.
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();
}