summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/object.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
commit484a76996eeb65ad726b65946642516c70b3257b (patch)
tree6aed4eba45d4eb704f004622ecbf63e275bb876c /cpukit/score/include/rtems/score/object.h
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2
Convert to "bool".
Diffstat (limited to 'cpukit/score/include/rtems/score/object.h')
-rw-r--r--cpukit/score/include/rtems/score/object.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 2abe12cead..f1203bc8d5 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -50,7 +50,7 @@ typedef union {
/**
* Functions which compare names are prototyped like this.
*/
-typedef boolean (*Objects_Name_comparators)(
+typedef bool (*Objects_Name_comparators)(
void * /* name_1 */,
void * /* name_2 */,
uint16_t /* length */
@@ -334,7 +334,7 @@ typedef struct {
/** This is the maximum number of objects in this class. */
Objects_Maximum maximum;
/** This is the TRUE if unlimited objects in this class. */
- boolean auto_extend;
+ bool auto_extend;
/** This is the number of objects in a block. */
uint32_t allocation_size;
/** This is the size in bytes of each object instance. */
@@ -349,8 +349,8 @@ typedef struct {
uint32_t *inactive_per_block;
/** This is a table to the chain of inactive object memory blocks. */
void **object_blocks;
- /** This is the TRUE if names are strings. */
- boolean is_string;
+ /** This is true if names are strings. */
+ bool is_string;
/** This is the maximum length of names. */
uint16_t name_length;
/** This is this object class' method called when extracting a thread. */
@@ -498,11 +498,11 @@ void _Objects_Initialize_information (
uint32_t the_class,
uint32_t maximum,
uint16_t size,
- boolean is_string,
+ bool is_string,
uint32_t maximum_name_length
#if defined(RTEMS_MULTIPROCESSING)
,
- boolean supports_global,
+ bool supports_global,
Objects_Thread_queue_Extract_callout extract
#endif
);
@@ -859,7 +859,7 @@ char *_Objects_Get_name_as_string(
*
* @return If successful, TRUE is returned. Otherwise FALSE is returned.
*/
-boolean _Objects_Set_name(
+bool _Objects_Set_name(
Objects_Information *information,
Objects_Control *the_object,
const char *name