summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include
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/rtems/include
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2
Convert to "bool".
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r--cpukit/rtems/include/rtems/rtems/asr.h6
-rw-r--r--cpukit/rtems/include/rtems/rtems/clock.h2
-rw-r--r--cpukit/rtems/include/rtems/rtems/config.h8
-rw-r--r--cpukit/rtems/include/rtems/rtems/object.h10
-rw-r--r--cpukit/rtems/include/rtems/rtems/sem.h2
-rw-r--r--cpukit/rtems/include/rtems/rtems/support.h6
6 files changed, 17 insertions, 17 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/asr.h b/cpukit/rtems/include/rtems/rtems/asr.h
index 1d5ba6194f..ea5fab8538 100644
--- a/cpukit/rtems/include/rtems/rtems/asr.h
+++ b/cpukit/rtems/include/rtems/rtems/asr.h
@@ -19,12 +19,12 @@
#ifndef _RTEMS_RTEMS_ASR_H
#define _RTEMS_RTEMS_ASR_H
+#include <rtems/rtems/modes.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <rtems/rtems/modes.h>
-
/**
* @defgroup ClassicASR Classic API ASR Support
*
@@ -57,7 +57,7 @@ typedef rtems_asr ( *rtems_asr_entry )(
*/
typedef struct {
/** This field indicates if are ASRs enabled currently. */
- boolean is_enabled;
+ bool is_enabled;
/** This field indicates if address of the signal handler function. */
rtems_asr_entry handler;
/** This field indicates if the task mode the signal will run with. */
diff --git a/cpukit/rtems/include/rtems/rtems/clock.h b/cpukit/rtems/include/rtems/rtems/clock.h
index 721e30ae35..7e6336d606 100644
--- a/cpukit/rtems/include/rtems/rtems/clock.h
+++ b/cpukit/rtems/include/rtems/rtems/clock.h
@@ -245,7 +245,7 @@ rtems_status_code rtems_clock_get_uptime(
*
* @return This method returns TRUE if the TOD is valid and FALSE otherwise.
*/
-boolean _TOD_Validate(
+bool _TOD_Validate(
rtems_time_of_day *the_tod
);
diff --git a/cpukit/rtems/include/rtems/rtems/config.h b/cpukit/rtems/include/rtems/rtems/config.h
index 4298e6a215..05b232482f 100644
--- a/cpukit/rtems/include/rtems/rtems/config.h
+++ b/cpukit/rtems/include/rtems/rtems/config.h
@@ -18,13 +18,13 @@
#ifndef _RTEMS_RTEMS_CONFIG_H
#define _RTEMS_RTEMS_CONFIG_H
+#include <rtems/rtems/types.h>
+#include <rtems/rtems/tasks.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <rtems/rtems/types.h>
-#include <rtems/rtems/tasks.h>
-
/**
* @defgroup ClassicConfig Classic API Configuration
*
@@ -51,7 +51,7 @@ typedef struct {
* This field indicates whether Classic API notepads are
* enabled or disabled.
*/
- boolean notepads_enabled;
+ bool notepads_enabled;
/**
* This field contains the maximum number of Classic API
diff --git a/cpukit/rtems/include/rtems/rtems/object.h b/cpukit/rtems/include/rtems/rtems/object.h
index 4437141049..58ca9f8b6c 100644
--- a/cpukit/rtems/include/rtems/rtems/object.h
+++ b/cpukit/rtems/include/rtems/rtems/object.h
@@ -15,15 +15,15 @@
#ifndef _RTEMS_RTEMS_OBJECT_H
#define _RTEMS_RTEMS_OBJECT_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <stdint.h>
#include <rtems/score/object.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @defgroup ClassicClassInfo Classic API Class Information
*
@@ -43,7 +43,7 @@ typedef struct {
/** This field is the number of object instances configured for this class. */
uint32_t maximum;
/** This field indicates if the class is configured for auto-extend. */
- boolean auto_extend;
+ bool auto_extend;
/** This field is the number of currently unallocated objects. */
uint32_t unallocated;
} rtems_object_api_class_information;
diff --git a/cpukit/rtems/include/rtems/rtems/sem.h b/cpukit/rtems/include/rtems/rtems/sem.h
index 8fff8a60ab..d6385b9e64 100644
--- a/cpukit/rtems/include/rtems/rtems/sem.h
+++ b/cpukit/rtems/include/rtems/rtems/sem.h
@@ -202,7 +202,7 @@ rtems_status_code rtems_semaphore_flush(
* option_set, then the routine returns. Otherwise, the calling task
* is blocked until a unit becomes available.
*/
-boolean _Semaphore_Seize(
+bool _Semaphore_Seize(
Semaphore_Control *the_semaphore,
uint32_t option_set
);
diff --git a/cpukit/rtems/include/rtems/rtems/support.h b/cpukit/rtems/include/rtems/rtems/support.h
index b204d498a7..25f6ebf08d 100644
--- a/cpukit/rtems/include/rtems/rtems/support.h
+++ b/cpukit/rtems/include/rtems/rtems/support.h
@@ -63,7 +63,7 @@ extern "C" {
*
* @return TRUE if successful
*/
-boolean rtems_workspace_get_information(
+bool rtems_workspace_get_information(
Heap_Information_block *the_info
);
@@ -78,7 +78,7 @@ boolean rtems_workspace_get_information(
*
* @return TRUE if successful
*/
-boolean rtems_workspace_allocate(
+bool rtems_workspace_allocate(
size_t bytes,
void **pointer
);
@@ -93,7 +93,7 @@ boolean rtems_workspace_allocate(
*
* @return TRUE if successful
*/
-boolean rtems_workspace_free(
+bool rtems_workspace_free(
void *pointer
);