diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-11 14:10:16 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-11 14:10:16 +0000 |
commit | 6162bc2a1d9ee716039978b44bd16f2a48b99250 (patch) | |
tree | 3be21c8ff55538183cc3b44729859390619e8683 /cpukit/score/cpu/arm | |
parent | Upgrade to binutils-2.18.90. (diff) | |
download | rtems-6162bc2a1d9ee716039978b44bd16f2a48b99250.tar.bz2 |
2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Do not define boolean, single_precision,
double_precision unless RTEMS_DEPRECATED_TYPES is given.
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r-- | cpukit/score/cpu/arm/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/types.h | 12 |
2 files changed, 12 insertions, 5 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index a4a514b2ce..0a264bd34f 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org> + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com> * cpu.c: Remove extraneous spaces. diff --git a/cpukit/score/cpu/arm/rtems/score/types.h b/cpukit/score/cpu/arm/rtems/score/types.h index d137153cfb..fd7964d1ab 100644 --- a/cpukit/score/cpu/arm/rtems/score/types.h +++ b/cpukit/score/cpu/arm/rtems/score/types.h @@ -33,14 +33,16 @@ extern "C" { * This section defines the basic types for this processor. */ -typedef bool boolean; /* Boolean value */ typedef uint16_t Priority_Bit_map_control; -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void arm_cpu_isr; -typedef void ( *arm_cpu_isr_entry )( void ); +typedef void (*arm_cpu_isr_entry)( void ); + +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif #ifdef __cplusplus } |