diff options
Diffstat (limited to 'cpukit/score/cpu/nios2')
-rw-r--r-- | cpukit/score/cpu/nios2/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/types.h | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/cpukit/score/cpu/nios2/ChangeLog b/cpukit/score/cpu/nios2/ChangeLog index 9d040aed41..344d7219ad 100644 --- a/cpukit/score/cpu/nios2/ChangeLog +++ b/cpukit/score/cpu/nios2/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> * rtems/score/cpu.h: Remove extraneous spaces. diff --git a/cpukit/score/cpu/nios2/rtems/score/types.h b/cpukit/score/cpu/nios2/rtems/score/types.h index 80142588a5..ae8f3cc345 100644 --- a/cpukit/score/cpu/nios2/rtems/score/types.h +++ b/cpukit/score/cpu/nios2/rtems/score/types.h @@ -33,15 +33,15 @@ extern "C" { */ typedef uint16_t Priority_Bit_map_control; - -typedef bool boolean; /* Boolean value */ - -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ - typedef void nios2_isr; typedef void ( *nios2_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 } #endif |