From c13fd2dbd8b938322f89665bdefc0e5298db2e19 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 20 Nov 2020 08:10:06 +0100 Subject: score: Restore RTEMS_COMPILER_UNUSED_ATTRIBUTE Commit 21af87199297460470578479293ec6bc8c4e04b2 accidentally removed the RTEMS_COMPILER_UNUSED_ATTRIBUTE and added RTEMS_COMPILER_USED_ATTRIBUTE. --- cpukit/include/rtems/score/basedefs.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h index f9fa3c8c7f..0081dbfbe4 100644 --- a/cpukit/include/rtems/score/basedefs.h +++ b/cpukit/include/rtems/score/basedefs.h @@ -823,6 +823,15 @@ extern "C" { #define RTEMS_UNUSED #endif +/* Generated from spec:/rtems/basedefs/if/compiler-unused-attribute */ + +/** + * @ingroup RTEMSAPIBaseDefs + * + * @brief Provided for backward compatibility. + */ +#define RTEMS_COMPILER_UNUSED_ATTRIBUTE RTEMS_UNUSED + /* Generated from spec:/rtems/basedefs/if/used */ /** @@ -836,15 +845,6 @@ extern "C" { #define RTEMS_USED #endif -/* Generated from spec:/rtems/basedefs/if/compiler-used-attribute */ - -/** - * @ingroup RTEMSAPIBaseDefs - * - * @brief Provided for backward compatibility. - */ -#define RTEMS_COMPILER_USED_ATTRIBUTE RTEMS_USED - /* Generated from spec:/rtems/basedefs/if/warn-unused-result */ /** -- cgit v1.2.3