diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/watchdog.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/watchdog.h b/cpukit/score/include/rtems/score/watchdog.h index f3fb27a14f..33c2739633 100644 --- a/cpukit/score/include/rtems/score/watchdog.h +++ b/cpukit/score/include/rtems/score/watchdog.h @@ -170,8 +170,8 @@ SCORE_EXTERN volatile Watchdog_Interval _Watchdog_Ticks_since_boot; * This is a pointer to the optional BSP plugin to obtain the number * of nanoseconds since the last clock tick. */ -SCORE_EXTERN Watchdog_Nanoseconds_since_last_tick_routine - _Watchdog_Nanoseconds_since_tick_handler; +extern Watchdog_Nanoseconds_since_last_tick_routine + _Watchdog_Nanoseconds_since_tick_handler; /** @brief Per Ticks Watchdog List * @@ -302,6 +302,13 @@ void _Watchdog_Report_chain( Chain_Control *header ); +/** + * @brief Default nanoseconds since last tick handler. + * + * @retval 0 Always. + */ +uint32_t _Watchdog_Nanoseconds_since_tick_default_handler( void ); + #ifndef __RTEMS_APPLICATION__ #include <rtems/score/watchdog.inl> #endif |