summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/no_cpu/rtems/score/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/no_cpu/rtems/score/types.h')
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/types.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/types.h b/cpukit/score/cpu/no_cpu/rtems/score/types.h
index 569962ea59..49115c440f 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/types.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/types.h
@@ -35,20 +35,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 no_cpu_isr;
/** This defines the prototype for an ISR entry point. */
typedef no_cpu_isr ( *no_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
}
#endif