[rtems commit] score: Always define RTEMSScoreMRSP group
Sebastian Huber
sebh at rtems.org
Wed Dec 2 06:45:59 UTC 2020
Module: rtems
Branch: master
Commit: 23494c2bfaa726005082929807e8029ab8b7e126
Changeset: http://git.rtems.org/rtems/commit/?id=23494c2bfaa726005082929807e8029ab8b7e126
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Nov 30 19:32:22 2020 +0100
score: Always define RTEMSScoreMRSP group
This fixes a Doxygen warning.
---
cpukit/include/rtems/score/mrsp.h | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/cpukit/include/rtems/score/mrsp.h b/cpukit/include/rtems/score/mrsp.h
index e42c3a4..678a678 100644
--- a/cpukit/include/rtems/score/mrsp.h
+++ b/cpukit/include/rtems/score/mrsp.h
@@ -24,9 +24,6 @@
#define _RTEMS_SCORE_MRSP_H
#include <rtems/score/cpuopts.h>
-
-#if defined(RTEMS_SMP)
-
#include <rtems/score/threadq.h>
#ifdef __cplusplus
@@ -57,6 +54,8 @@ extern "C" {
* @{
*/
+#if defined(RTEMS_SMP)
+
/**
* @brief MrsP control block.
*/
@@ -77,12 +76,12 @@ typedef struct {
Priority_Control ceiling_priorities[ RTEMS_ZERO_LENGTH_ARRAY ];
} MRSP_Control;
+#endif /* RTEMS_SMP */
+
/** @} */
#ifdef __cplusplus
}
#endif /* __cplusplus */
-#endif /* RTEMS_SMP */
-
#endif /* _RTEMS_SCORE_MRSP_H */
More information about the vc
mailing list