score: Use RTEMS_DEPRECATED for deprecated types

Update #3584.
This commit is contained in:
Sebastian Huber
2018-11-07 14:27:17 +01:00
parent 4fea054ca5
commit a9767a07a2
2 changed files with 6 additions and 6 deletions

View File

@@ -47,21 +47,21 @@ extern "C" {
* *
* @deprecated Use @c float instead. * @deprecated Use @c float instead.
*/ */
typedef single_precision rtems_single; typedef single_precision rtems_single RTEMS_DEPRECATED;
/** /**
* @brief Double precision float type. * @brief Double precision float type.
* *
* @deprecated Use @c double instead. * @deprecated Use @c double instead.
*/ */
typedef double_precision rtems_double; typedef double_precision rtems_double RTEMS_DEPRECATED;
/** /**
* @brief RTEMS boolean type. * @brief RTEMS boolean type.
* *
* @deprecated Use @c bool instead * @deprecated Use @c bool instead
*/ */
typedef boolean rtems_boolean; typedef boolean rtems_boolean RTEMS_DEPRECATED;
#endif #endif
/** /**

View File

@@ -460,9 +460,9 @@ extern void RTEMS_DEQUALIFY_types_not_compatible(void);
#ifndef ASM #ifndef ASM
#ifdef RTEMS_DEPRECATED_TYPES #ifdef RTEMS_DEPRECATED_TYPES
typedef bool boolean; typedef bool boolean RTEMS_DEPRECATED;
typedef float single_precision; typedef float single_precision RTEMS_DEPRECATED;
typedef double double_precision; typedef double double_precision RTEMS_DEPRECATED;
#endif #endif
/** /**