summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-20 08:10:06 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-11-20 08:14:18 +0100
commitc13fd2dbd8b938322f89665bdefc0e5298db2e19 (patch)
tree254dc11b4b38905eed361e22ac43630598be3e01
parentconfig: Initialize task stack allocator on demand (diff)
downloadrtems-c13fd2dbd8b938322f89665bdefc0e5298db2e19.tar.bz2
score: Restore RTEMS_COMPILER_UNUSED_ATTRIBUTE
Commit 21af87199297460470578479293ec6bc8c4e04b2 accidentally removed the RTEMS_COMPILER_UNUSED_ATTRIBUTE and added RTEMS_COMPILER_USED_ATTRIBUTE.
-rw-r--r--cpukit/include/rtems/score/basedefs.h18
1 files 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 */
/**