I never realized the Doxygen picks up the CPP feature checks. That's really interesting.
On Tue, Dec 1, 2020 at 1:10 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > 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 e42c3a400c..678a678b14 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 */ > -- > 2.26.2 > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel