From 6162bc2a1d9ee716039978b44bd16f2a48b99250 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 11 Sep 2008 14:10:16 +0000 Subject: =?UTF-8?q?2008-09-11=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rtems/score/types.h: Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given. --- cpukit/score/cpu/mips/ChangeLog | 5 +++++ cpukit/score/cpu/mips/rtems/score/types.h | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'cpukit/score/cpu/mips') diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog index 7f0cce7339..2703b2b052 100644 --- a/cpukit/score/cpu/mips/ChangeLog +++ b/cpukit/score/cpu/mips/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius + + * rtems/score/types.h: Do not define boolean, single_precision, + double_precision unless RTEMS_DEPRECATED_TYPES is given. + 2008-08-21 Ralf Corsépius * rtems/score/types.h: Include stdbool.h. diff --git a/cpukit/score/cpu/mips/rtems/score/types.h b/cpukit/score/cpu/mips/rtems/score/types.h index cca53236ce..b328de9f65 100644 --- a/cpukit/score/cpu/mips/rtems/score/types.h +++ b/cpukit/score/cpu/mips/rtems/score/types.h @@ -34,15 +34,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 mips_isr; typedef void ( *mips_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 -- cgit v1.2.3