From eaf1c0c44c8081f0c43bb172ddcf8d8307cc2c8a Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 9 Sep 2008 08:19:38 +0000 Subject: More "bool" cleanup. --- doc/user/chains.t | 56 +++++++++++++++++++++++++++--------------------------- doc/user/conf.t | 4 ++-- doc/user/object.t | 2 +- doc/user/userext.t | 8 ++++---- 4 files changed, 35 insertions(+), 35 deletions(-) (limited to 'doc') diff --git a/doc/user/chains.t b/doc/user/chains.t index f99d9cfc1b..baa12234c0 100755 --- a/doc/user/chains.t +++ b/doc/user/chains.t @@ -246,12 +246,12 @@ bool @value{DIRPREFIX}chain_is_null_node( @subheading RETURNS -Returns true is the node point is NULL and false if the node is not +Returns @code{true} is the node point is NULL and @code{false} if the node is not NULL. @subheading DESCRIPTION: -Tests the node to see if it is a NULL returning true if a null. +Tests the node to see if it is a NULL returning @code{true} if a null. @c @c @@ -329,13 +329,13 @@ bool @value{DIRPREFIX}chain_are_nodes_equal( @subheading RETURNS -This function returns true if the left node and the right node are -equal, and false otherwise. +This function returns @code{true} if the left node and the right node are +equal, and @code{false} otherwise. @subheading DESCRIPTION: -This function returns true if the left node and the right node are -equal, and false otherwise. +This function returns @code{true} if the left node and the right node are +equal, and @code{false} otherwise. @c @c @@ -358,12 +358,12 @@ bool @value{DIRPREFIX}chain_is_empty( @subheading RETURNS -This function returns true if there a no nodes on the chain and false +This function returns @code{true} if there a no nodes on the chain and @code{false} otherwise. @subheading DESCRIPTION: -This function returns true if there a no nodes on the chain and false +This function returns @code{true} if there a no nodes on the chain and @code{false} otherwise. @c @@ -387,13 +387,13 @@ bool @value{DIRPREFIX}chain_is_first( @subheading RETURNS -This function returns true if the node is the first node on a chain -and false otherwise. +This function returns @code{true} if the node is the first node on a chain +and @code{false} otherwise. @subheading DESCRIPTION: -This function returns true if the node is the first node on a chain -and false otherwise. +This function returns @code{true} if the node is the first node on a chain +and @code{false} otherwise. @c @c @@ -416,13 +416,13 @@ bool @value{DIRPREFIX}chain_is_last( @subheading RETURNS -This function returns true if the node is the last node on a chain and -false otherwise. +This function returns @code{true} if the node is the last node on a chain and +@code{false} otherwise. @subheading DESCRIPTION: -This function returns true if the node is the last node on a chain and -false otherwise. +This function returns @code{true} if the node is the last node on a chain and +@code{false} otherwise. @c @c @@ -445,13 +445,13 @@ bool @value{DIRPREFIX}chain_has_only_one_node( @subheading RETURNS -This function returns true if there is only one node on the chain and -false otherwise. +This function returns @code{true} if there is only one node on the chain and +@code{false} otherwise. @subheading DESCRIPTION: -This function returns true if there is only one node on the chain and -false otherwise. +This function returns @code{true} if there is only one node on the chain and +@code{false} otherwise. @c @c @@ -475,13 +475,13 @@ bool @value{DIRPREFIX}chain_is_head( @subheading RETURNS -This function returns true if the node is the head of the chain and -false otherwise. +This function returns @code{true} if the node is the head of the chain and +@code{false} otherwise. @subheading DESCRIPTION: -This function returns true if the node is the head of the chain and -false otherwise. +This function returns @code{true} if the node is the head of the chain and +@code{false} otherwise. @c @c @@ -505,13 +505,13 @@ bool @value{DIRPREFIX}chain_is_tail( @subheading RETURNS -This function returns true if the node is the tail of the chain and -false otherwise. +This function returns @code{true} if the node is the tail of the chain and +@code{false} otherwise. @subheading DESCRIPTION: -This function returns true if the node is the tail of the chain and -false otherwise. +This function returns @code{true} if the node is the tail of the chain and +@code{false} otherwise. @c @c diff --git a/doc/user/conf.t b/doc/user/conf.t index b5e2868c63..23d8f2186c 100644 --- a/doc/user/conf.t +++ b/doc/user/conf.t @@ -894,7 +894,7 @@ typedef struct @{ uint32_t interrupt_stack_size; void * (*stack_allocate_hook)( uint32_t ); void (*stack_free_hook)( void * ); - boolean do_zero_of_workspace; + bool do_zero_of_workspace; uint32_t maximum_drivers; uint32_t number_of_device_drivers; rtems_driver_address_table *Device_driver_table; @@ -1599,7 +1599,7 @@ typedef rtems_extension (*rtems_task_exitted_extension)( ); typedef rtems_extension (*rtems_fatal_extension)( Internal_errors_Source /* the_source */, - boolean /* is_internal */, + bool /* is_internal */, uint32_t /* the_error */ ); diff --git a/doc/user/object.t b/doc/user/object.t index 7483fc63cb..45c0c38f09 100644 --- a/doc/user/object.t +++ b/doc/user/object.t @@ -895,7 +895,7 @@ typedef struct @{ rtems_id minimum_id; rtems_id maximum_id; uint32_t maximum; - boolean auto_extend; + bool auto_extend; uint32_t unallocated; @} rtems_object_api_class_information; @end example diff --git a/doc/user/userext.t b/doc/user/userext.t index fbcb93b0cd..4b41a26b85 100644 --- a/doc/user/userext.t +++ b/doc/user/userext.t @@ -210,7 +210,7 @@ following: @findex rtems_extension @ifset is-C @example -boolean user_task_create( +bool user_task_create( rtems_tcb *current_task, rtems_tcb *new_task ); @@ -235,11 +235,11 @@ completely initialized, but before it is placed on a ready TCB chain. The user extension is expected to return the boolean -value @code{TRUE} if it successfully executed and -@code{FALSE} otherwise. A task create user extension +value @code{true} if it successfully executed and +@code{false} otherwise. A task create user extension will frequently attempt to allocate resources. If this allocation fails, then the extension should return -@code{FALSE} and the entire task create operation +@code{false} and the entire task create operation will fail. @subsubsection TASK_START Extension -- cgit v1.2.3