summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-07 14:27:17 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 08:09:25 +0100
commita9767a07a2695cb52dc1b0d03aa83dfed171a5f0 (patch)
treed8b829ba9e1b8c48cee974e06321ec80173ee767
parentscore: Remove _ISR_Dispatch() (diff)
downloadrtems-a9767a07a2695cb52dc1b0d03aa83dfed171a5f0.tar.bz2
score: Use RTEMS_DEPRECATED for deprecated types
Update #3584.
-rw-r--r--cpukit/include/rtems/rtems/types.h6
-rw-r--r--cpukit/include/rtems/score/basedefs.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h
index 82c0edd3c3..806fa44eb6 100644
--- a/cpukit/include/rtems/rtems/types.h
+++ b/cpukit/include/rtems/rtems/types.h
@@ -47,21 +47,21 @@ extern "C" {
*
* @deprecated Use @c float instead.
*/
-typedef single_precision rtems_single;
+typedef single_precision rtems_single RTEMS_DEPRECATED;
/**
* @brief Double precision float type.
*
* @deprecated Use @c double instead.
*/
-typedef double_precision rtems_double;
+typedef double_precision rtems_double RTEMS_DEPRECATED;
/**
* @brief RTEMS boolean type.
*
* @deprecated Use @c bool instead
*/
-typedef boolean rtems_boolean;
+typedef boolean rtems_boolean RTEMS_DEPRECATED;
#endif
/**
diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h
index 0a2bf8dd17..5e425cedf0 100644
--- a/cpukit/include/rtems/score/basedefs.h
+++ b/cpukit/include/rtems/score/basedefs.h
@@ -460,9 +460,9 @@ extern void RTEMS_DEQUALIFY_types_not_compatible(void);
#ifndef ASM
#ifdef RTEMS_DEPRECATED_TYPES
- typedef bool boolean;
- typedef float single_precision;
- typedef double double_precision;
+ typedef bool boolean RTEMS_DEPRECATED;
+ typedef float single_precision RTEMS_DEPRECATED;
+ typedef double double_precision RTEMS_DEPRECATED;
#endif
/**