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/include/rtems | |
parent | 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-f8437c81d5e191ebe10374938974315aee07faf3.tar.bz2 |
Convert to "bool".
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/include/rtems/posix/cond.h | 6 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/key.h | 4 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/mqueue.h | 10 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/mutex.h | 4 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/priority.h | 2 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/psignal.h | 12 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/pthread.h | 2 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/semaphore.h | 8 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/timer.h | 2 |
9 files changed, 25 insertions, 25 deletions
diff --git a/cpukit/posix/include/rtems/posix/cond.h b/cpukit/posix/include/rtems/posix/cond.h index 1df16380e5..7fc403f891 100644 --- a/cpukit/posix/include/rtems/posix/cond.h +++ b/cpukit/posix/include/rtems/posix/cond.h @@ -124,7 +124,7 @@ RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control *_POSIX_Condition_variabl * and FALSE otherwise. */ -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 ); @@ -139,7 +139,7 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Condition_variables_Is_null ( int _POSIX_Condition_variables_Signal_support( pthread_cond_t *cond, - boolean is_broadcast + bool is_broadcast ); /* @@ -155,7 +155,7 @@ int _POSIX_Condition_variables_Wait_support( pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, - boolean already_timedout + bool already_timedout ); /* diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h index a3bc0f7375..6b1840713d 100644 --- a/cpukit/posix/include/rtems/posix/key.h +++ b/cpukit/posix/include/rtems/posix/key.h @@ -33,7 +33,7 @@ extern "C" { typedef struct { Objects_Control Object; - boolean is_active; + bool is_active; void (*destructor)( void * ); void **Values[ OBJECTS_APIS_LAST + 1 ]; } POSIX_Keys_Control; @@ -124,7 +124,7 @@ RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get ( * This function returns TRUE if the_key is NULL and FALSE otherwise. */ -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/include/rtems/posix/mqueue.h b/cpukit/posix/include/rtems/posix/mqueue.h index 67dda09d93..da8ea68259 100644 --- a/cpukit/posix/include/rtems/posix/mqueue.h +++ b/cpukit/posix/include/rtems/posix/mqueue.h @@ -35,8 +35,8 @@ extern "C" { typedef struct { Objects_Control Object; int process_shared; - boolean named; - boolean linked; + bool named; + bool linked; uint32_t open_count; CORE_message_queue_Control Message_queue; struct sigevent notification; @@ -112,7 +112,7 @@ ssize_t _POSIX_Message_queue_Receive_support( char *msg_ptr, size_t msg_len, unsigned int *msg_prio, - boolean wait, + bool wait, Watchdog_Interval timeout ); @@ -129,7 +129,7 @@ int _POSIX_Message_queue_Send_support( const char *msg_ptr, size_t msg_len, uint32_t msg_prio, - boolean wait, + bool wait, Watchdog_Interval timeout ); @@ -184,7 +184,7 @@ RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get ( * This function returns TRUE if the_message_queue is NULL and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _POSIX_Message_queue_Is_null ( +RTEMS_INLINE_ROUTINE bool _POSIX_Message_queue_Is_null ( POSIX_Message_queue_Control *the_mq ); diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h index a9374a7381..4594610b4e 100644 --- a/cpukit/posix/include/rtems/posix/mutex.h +++ b/cpukit/posix/include/rtems/posix/mutex.h @@ -113,7 +113,7 @@ RTEMS_INLINE_ROUTINE POSIX_Mutex_Control *_POSIX_Mutex_Get ( * This function returns TRUE if the_mutex is NULL and FALSE otherwise. */ -RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( +RTEMS_INLINE_ROUTINE bool _POSIX_Mutex_Is_null ( POSIX_Mutex_Control *the_mutex ); #endif @@ -129,7 +129,7 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Mutex_Is_null ( int _POSIX_Mutex_Lock_support( pthread_mutex_t *mutex, - boolean blocking, + bool blocking, Watchdog_Interval timeout ); diff --git a/cpukit/posix/include/rtems/posix/priority.h b/cpukit/posix/include/rtems/posix/priority.h index 4d40538d89..14eb959950 100644 --- a/cpukit/posix/include/rtems/posix/priority.h +++ b/cpukit/posix/include/rtems/posix/priority.h @@ -36,7 +36,7 @@ #define POSIX_SCHEDULER_MINIMUM_PRIORITY (1) -RTEMS_INLINE_ROUTINE boolean _POSIX_Priority_Is_valid( +RTEMS_INLINE_ROUTINE bool _POSIX_Priority_Is_valid( int priority ); diff --git a/cpukit/posix/include/rtems/posix/psignal.h b/cpukit/posix/include/rtems/posix/psignal.h index d0b8574b7d..66c6bd1bc3 100644 --- a/cpukit/posix/include/rtems/posix/psignal.h +++ b/cpukit/posix/include/rtems/posix/psignal.h @@ -85,24 +85,24 @@ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ); -boolean _POSIX_signals_Unblock_thread( +bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ); -boolean _POSIX_signals_Check_signal( +bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, - boolean is_global + bool is_global ); -boolean _POSIX_signals_Clear_signals( +bool _POSIX_signals_Clear_signals( POSIX_API_Control *api, int signo, siginfo_t *info, - boolean is_global, - boolean check_blocked + bool is_global, + bool check_blocked ); int killinfo( diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h index 9f80828eec..d0afbadb4e 100644 --- a/cpukit/posix/include/rtems/posix/pthread.h +++ b/cpukit/posix/include/rtems/posix/pthread.h @@ -123,7 +123,7 @@ RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get( * This function returns TRUE if the_pthread is NULL and FALSE otherwise. */ -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/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 ); diff --git a/cpukit/posix/include/rtems/posix/timer.h b/cpukit/posix/include/rtems/posix/timer.h index b140a621a6..b32856269d 100644 --- a/cpukit/posix/include/rtems/posix/timer.h +++ b/cpukit/posix/include/rtems/posix/timer.h @@ -80,7 +80,7 @@ void _POSIX_Timer_TSR(Objects_Id timer, void *data); /* * Watchdog Insert helper */ -boolean _POSIX_Timer_Insert_helper( +bool _POSIX_Timer_Insert_helper( Watchdog_Control *timer, Watchdog_Interval ticks, Objects_Id id, |