summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/cancel.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 15:23:12 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 15:23:12 +0000
commitf8437c81d5e191ebe10374938974315aee07faf3 (patch)
tree81e073f66d0e943a7067e5b36923dd1a10219137 /cpukit/posix/src/cancel.c
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f8437c81d5e191ebe10374938974315aee07faf3.tar.bz2
Convert to "bool".
Diffstat (limited to 'cpukit/posix/src/cancel.c')
-rw-r--r--cpukit/posix/src/cancel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c
index 9a3b18481a..56a574e9e4 100644
--- a/cpukit/posix/src/cancel.c
+++ b/cpukit/posix/src/cancel.c
@@ -37,7 +37,7 @@ int pthread_cancel(
Thread_Control *the_thread;
POSIX_API_Control *thread_support;
Objects_Locations location;
- boolean cancel = FALSE;
+ bool cancel = false;
/*
* Don't even think about deleting a resource from an ISR.
@@ -56,7 +56,7 @@ int pthread_cancel(
if (thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS)
- cancel = TRUE;
+ cancel = true;
_Thread_Enable_dispatch();
if ( cancel )