diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 15:23:12 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 15:23:12 +0000 |
commit | f8437c81d5e191ebe10374938974315aee07faf3 (patch) | |
tree | 81e073f66d0e943a7067e5b36923dd1a10219137 /cpukit/posix/src/setcanceltype.c | |
parent | 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-f8437c81d5e191ebe10374938974315aee07faf3.tar.bz2 |
Convert to "bool".
Diffstat (limited to 'cpukit/posix/src/setcanceltype.c')
-rw-r--r-- | cpukit/posix/src/setcanceltype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/setcanceltype.c b/cpukit/posix/src/setcanceltype.c index fbd7beadf2..403e16b812 100644 --- a/cpukit/posix/src/setcanceltype.c +++ b/cpukit/posix/src/setcanceltype.c @@ -36,7 +36,7 @@ int pthread_setcanceltype( ) { POSIX_API_Control *thread_support; - boolean cancel = FALSE; + bool cancel = false; /* * Don't even think about deleting a resource from an ISR. @@ -62,7 +62,7 @@ int pthread_setcanceltype( if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE && thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS && thread_support->cancelation_requested ) - cancel = TRUE; + cancel = true; _Thread_Enable_dispatch(); if ( cancel ) _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED ); |