summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/semaphore.h
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/include/rtems/posix/semaphore.h
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f8437c81d5e191ebe10374938974315aee07faf3.tar.bz2
Convert to "bool".
Diffstat (limited to 'cpukit/posix/include/rtems/posix/semaphore.h')
-rw-r--r--cpukit/posix/include/rtems/posix/semaphore.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h
index f345aed8bd..5f1fbd4faa 100644
--- a/cpukit/posix/include/rtems/posix/semaphore.h
+++ b/cpukit/posix/include/rtems/posix/semaphore.h
@@ -36,8 +36,8 @@ extern "C" {
typedef struct {
Objects_Control Object;
int process_shared;
- boolean named;
- boolean linked;
+ bool named;
+ bool linked;
uint32_t open_count;
CORE_semaphore_Control Semaphore;
} POSIX_Semaphore_Control;
@@ -112,7 +112,7 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
);
@@ -154,7 +154,7 @@ void _POSIX_Semaphore_Delete(
int _POSIX_Semaphore_Wait_support(
sem_t *sem,
- boolean blocking,
+ bool blocking,
Watchdog_Interval timeout
);