summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/watchdogimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-03 13:10:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-07 14:22:01 +0100
commitef23838543337105de4070ff2ef0d45b078f6812 (patch)
tree4a7871276ac587ec6177f31445a4d466aecf1b05 /cpukit/include/rtems/score/watchdogimpl.h
parentpsxtimes01: Fix sporadic failures (diff)
downloadrtems-ef23838543337105de4070ff2ef0d45b078f6812.tar.bz2
score: Avoid sbintime_t in API headers
The sbintime_t is a non-POSIX type and not visible if strict standard options are selected. Move implementation details from <rtems/score/timestamp.h> to <rtems/score/timestampimpl.h>. Update #3598.
Diffstat (limited to 'cpukit/include/rtems/score/watchdogimpl.h')
-rw-r--r--cpukit/include/rtems/score/watchdogimpl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/include/rtems/score/watchdogimpl.h b/cpukit/include/rtems/score/watchdogimpl.h
index 17ef130d3a..5a024069ca 100644
--- a/cpukit/include/rtems/score/watchdogimpl.h
+++ b/cpukit/include/rtems/score/watchdogimpl.h
@@ -398,9 +398,7 @@ RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_timespec(
return ticks;
}
-RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_sbintime(
- sbintime_t sbt
-)
+RTEMS_INLINE_ROUTINE uint64_t _Watchdog_Ticks_from_sbintime( int64_t sbt )
{
uint64_t ticks = ( sbt >> 32 ) << WATCHDOG_BITS_FOR_1E9_NANOSECONDS;