From c161216d44f23610b6c459196ad0788b4f6708f9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Jun 2020 10:43:22 +0200 Subject: rtems: From to Move type related definition to . The goal is to make 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". -- cgit v1.2.3