summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/bfin/rtems/score/types.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-11 14:10:16 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-11 14:10:16 +0000
commit6162bc2a1d9ee716039978b44bd16f2a48b99250 (patch)
tree3be21c8ff55538183cc3b44729859390619e8683 /cpukit/score/cpu/bfin/rtems/score/types.h
parentUpgrade to binutils-2.18.90. (diff)
downloadrtems-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/bfin/rtems/score/types.h')
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/types.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/cpukit/score/cpu/bfin/rtems/score/types.h b/cpukit/score/cpu/bfin/rtems/score/types.h
index 57f5a255ec..c438546d55 100644
--- a/cpukit/score/cpu/bfin/rtems/score/types.h
+++ b/cpukit/score/cpu/bfin/rtems/score/types.h
@@ -31,20 +31,18 @@ extern "C" {
/** This defines the type for a priority bit map entry. */
typedef uint16_t Priority_Bit_map_control;
-/** This defines the type for a Boolean value, */
-typedef bool boolean; /* Boolean value */
-
-/** This defines the type for a single precision float. */
-typedef float single_precision;
-/** This defines the type for a double precision float. */
-typedef double double_precision;
-
/** This defines the return type for an ISR entry point. */
typedef void blackfin_isr;
/** This defines the prototype for an ISR entry point. */
typedef blackfin_isr ( *blackfin_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