summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/no_cpu
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-21 04:10:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-21 04:10:35 +0000
commit30e2df697af65d82c24e4fd6e23a4c7b9666a814 (patch)
treeb7df918db57e654bb1aa8f842b7c9824b2f3ab0e /cpukit/score/cpu/no_cpu
parent2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-30e2df697af65d82c24e4fd6e23a4c7b9666a814.tar.bz2
Include stdbool.h. Use bool as base-type for boolean.
Diffstat (limited to 'cpukit/score/cpu/no_cpu')
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/types.h b/cpukit/score/cpu/no_cpu/rtems/score/types.h
index 7587db3cc6..569962ea59 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/types.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/types.h
@@ -21,6 +21,7 @@
#ifndef ASM
+#include <stdbool.h>
#include <rtems/stdint.h>
#ifdef __cplusplus
@@ -35,7 +36,7 @@ extern "C" {
typedef uint16_t Priority_Bit_map_control;
/** This defines the type for a Boolean value, */
-typedef uint32_t boolean; /* Boolean value */
+typedef bool boolean; /* Boolean value */
/** This defines the type for a single precision float. */
typedef float single_precision;