summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/inline/rtems
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/inline/rtems
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f8437c81d5e191ebe10374938974315aee07faf3.tar.bz2
Convert to "bool".
Diffstat (limited to 'cpukit/posix/inline/rtems')
-rw-r--r--cpukit/posix/inline/rtems/posix/barrier.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/cond.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/key.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/mqueue.inl3
-rw-r--r--cpukit/posix/inline/rtems/posix/mutex.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/priority.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/pthread.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/rwlock.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/semaphore.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/spinlock.inl2
-rw-r--r--cpukit/posix/inline/rtems/posix/timer.inl2
11 files changed, 12 insertions, 13 deletions
diff --git a/cpukit/posix/inline/rtems/posix/barrier.inl b/cpukit/posix/inline/rtems/posix/barrier.inl
index 8740ee595d..7995f13786 100644
--- a/cpukit/posix/inline/rtems/posix/barrier.inl
+++ b/cpukit/posix/inline/rtems/posix/barrier.inl
@@ -78,7 +78,7 @@ RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Get (
*
* This function returns TRUE if the_barrier is NULL and FALSE otherwise.
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Barrier_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Barrier_Is_null (
POSIX_Barrier_Control *the_barrier
)
{
diff --git a/cpukit/posix/inline/rtems/posix/cond.inl b/cpukit/posix/inline/rtems/posix/cond.inl
index 3aded03789..3b011c0383 100644
--- a/cpukit/posix/inline/rtems/posix/cond.inl
+++ b/cpukit/posix/inline/rtems/posix/cond.inl
@@ -58,7 +58,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Condition_variables_Free (
* _POSIX_Condition_variables_Is_null
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Condition_variables_Is_null (
POSIX_Condition_variables_Control *the_condition_variable
)
{
diff --git a/cpukit/posix/inline/rtems/posix/key.inl b/cpukit/posix/inline/rtems/posix/key.inl
index e110293dc8..6fbce5a7ee 100644
--- a/cpukit/posix/inline/rtems/posix/key.inl
+++ b/cpukit/posix/inline/rtems/posix/key.inl
@@ -65,7 +65,7 @@ RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
* _POSIX_Keys_Is_null
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Keys_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Keys_Is_null (
POSIX_Keys_Control *the_key
)
{
diff --git a/cpukit/posix/inline/rtems/posix/mqueue.inl b/cpukit/posix/inline/rtems/posix/mqueue.inl
index 2c3fd3f3c7..22862edf0c 100644
--- a/cpukit/posix/inline/rtems/posix/mqueue.inl
+++ b/cpukit/posix/inline/rtems/posix/mqueue.inl
@@ -118,7 +118,7 @@ RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd
* _POSIX_Message_queue_Is_null
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Message_queue_Is_null (
POSIX_Message_queue_Control *the_mq
)
{
@@ -155,4 +155,3 @@ RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
#endif
/* end of include file */
-
diff --git a/cpukit/posix/inline/rtems/posix/mutex.inl b/cpukit/posix/inline/rtems/posix/mutex.inl
index be27ff1bf9..b5e3721a3a 100644
--- a/cpukit/posix/inline/rtems/posix/mutex.inl
+++ b/cpukit/posix/inline/rtems/posix/mutex.inl
@@ -51,7 +51,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Free (
* _POSIX_Mutex_Is_null
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Mutex_Is_null (
POSIX_Mutex_Control *the_mutex
)
{
diff --git a/cpukit/posix/inline/rtems/posix/priority.inl b/cpukit/posix/inline/rtems/posix/priority.inl
index 999727e469..efabbda65a 100644
--- a/cpukit/posix/inline/rtems/posix/priority.inl
+++ b/cpukit/posix/inline/rtems/posix/priority.inl
@@ -28,11 +28,11 @@
* Thus, RTEMS Core has priorities run in the opposite sense of the POSIX API.
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid(
+RTEMS_INLINE_ROUTINE bool _POSIX_Priority_Is_valid(
int priority
)
{
- return (boolean) (priority >= 1 && priority <= 254);
+ return (priority >= 1 && priority <= 254);
}
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
diff --git a/cpukit/posix/inline/rtems/posix/pthread.inl b/cpukit/posix/inline/rtems/posix/pthread.inl
index b1b168c872..7f35e9a08b 100644
--- a/cpukit/posix/inline/rtems/posix/pthread.inl
+++ b/cpukit/posix/inline/rtems/posix/pthread.inl
@@ -65,7 +65,7 @@ RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get (
* _POSIX_Threads_Is_null
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Threads_Is_null (
Thread_Control *the_pthread
)
{
diff --git a/cpukit/posix/inline/rtems/posix/rwlock.inl b/cpukit/posix/inline/rtems/posix/rwlock.inl
index f75d741710..b0410fa104 100644
--- a/cpukit/posix/inline/rtems/posix/rwlock.inl
+++ b/cpukit/posix/inline/rtems/posix/rwlock.inl
@@ -78,7 +78,7 @@ RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Get (
*
* This function returns TRUE if the_RWLock is NULL and FALSE otherwise.
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_RWLock_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_RWLock_Is_null (
POSIX_RWLock_Control *the_RWLock
)
{
diff --git a/cpukit/posix/inline/rtems/posix/semaphore.inl b/cpukit/posix/inline/rtems/posix/semaphore.inl
index b4b847e211..59917bb081 100644
--- a/cpukit/posix/inline/rtems/posix/semaphore.inl
+++ b/cpukit/posix/inline/rtems/posix/semaphore.inl
@@ -81,7 +81,7 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
* _POSIX_Semaphore_Is_null
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Semaphore_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Semaphore_Is_null (
POSIX_Semaphore_Control *the_semaphore
)
{
diff --git a/cpukit/posix/inline/rtems/posix/spinlock.inl b/cpukit/posix/inline/rtems/posix/spinlock.inl
index 1660fa2ac7..97cdeb97bb 100644
--- a/cpukit/posix/inline/rtems/posix/spinlock.inl
+++ b/cpukit/posix/inline/rtems/posix/spinlock.inl
@@ -78,7 +78,7 @@ RTEMS_INLINE_ROUTINE POSIX_Spinlock_Control *_POSIX_Spinlock_Get (
*
* This function returns TRUE if the_spinlock is NULL and FALSE otherwise.
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Spinlock_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Spinlock_Is_null (
POSIX_Spinlock_Control *the_spinlock
)
{
diff --git a/cpukit/posix/inline/rtems/posix/timer.inl b/cpukit/posix/inline/rtems/posix/timer.inl
index 9dd253fda7..383e65102f 100644
--- a/cpukit/posix/inline/rtems/posix/timer.inl
+++ b/cpukit/posix/inline/rtems/posix/timer.inl
@@ -87,7 +87,7 @@ RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (
* This function returns TRUE if the_timer is NULL and FALSE otherwise.
*/
-RTEMS_INLINE_ROUTINE boolean _POSIX_Timer_Is_null (
+RTEMS_INLINE_ROUTINE bool _POSIX_Timer_Is_null (
POSIX_Timer_Control *the_timer
)
{