diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-21 04:10:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-21 04:10:35 +0000 |
commit | 30e2df697af65d82c24e4fd6e23a4c7b9666a814 (patch) | |
tree | b7df918db57e654bb1aa8f842b7c9824b2f3ab0e /cpukit/score/cpu/mips/rtems/score/types.h | |
parent | 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-30e2df697af65d82c24e4fd6e23a4c7b9666a814.tar.bz2 |
Include stdbool.h. Use bool as base-type for boolean.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/cpu/mips/rtems/score/types.h b/cpukit/score/cpu/mips/rtems/score/types.h index c5f13f8261..cca53236ce 100644 --- a/cpukit/score/cpu/mips/rtems/score/types.h +++ b/cpukit/score/cpu/mips/rtems/score/types.h @@ -22,6 +22,7 @@ #ifndef ASM +#include <stdbool.h> #include <rtems/stdint.h> #ifdef __cplusplus @@ -34,7 +35,7 @@ extern "C" { typedef uint16_t Priority_Bit_map_control; -typedef uint32_t boolean; /* Boolean value */ +typedef bool boolean; /* Boolean value */ typedef float single_precision; /* single precision float */ typedef double double_precision; /* double precision float */ |