[rtems commit] score: Restore RTEMS_COMPILER_UNUSED_ATTRIBUTE

Sebastian Huber sebh at rtems.org
Fri Nov 20 07:14:43 UTC 2020


Module:    rtems
Branch:    master
Commit:    c13fd2dbd8b938322f89665bdefc0e5298db2e19
Changeset: http://git.rtems.org/rtems/commit/?id=c13fd2dbd8b938322f89665bdefc0e5298db2e19

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 20 08:10:06 2020 +0100

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 f9fa3c8..0081dbf 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 */
 
 /**



More information about the vc mailing list