Move type related definition to <rtems/rtems/types.h>. The goal is to make <rtems.h> an include only header file. --- cpukit/include/rtems.h | 7 ------- cpukit/include/rtems/rtems/types.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/cpukit/include/rtems.h b/cpukit/include/rtems.h index b716796fdc..ff0cb69bcf 100644 --- a/cpukit/include/rtems.h +++ b/cpukit/include/rtems.h @@ -61,13 +61,6 @@ extern "C" { #endif -/** - * @brief Constant for indefinite wait. - * - * This is actually an illegal interval value. - */ -#define RTEMS_NO_TIMEOUT ((rtems_interval) WATCHDOG_NO_TIMEOUT) - /** * @brief An MPCI must support packets of at least this size. */ diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index e5dd1afc3b..5ce3eb6604 100644 --- a/cpukit/include/rtems/rtems/types.h +++ b/cpukit/include/rtems/rtems/types.h @@ -85,6 +85,13 @@ typedef CPU_Interrupt_frame rtems_interrupt_frame; */ typedef Watchdog_Interval rtems_interval; +/** + * @brief Constant for indefinite wait. + * + * This is actually an illegal interval value. + */ +#define RTEMS_NO_TIMEOUT ((rtems_interval) WATCHDOG_NO_TIMEOUT) + /** * @brief Data structure to manage and manipulate calendar * @ref ClassicRTEMSSecTime "time". -- 2.26.2 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel