From ecef36987538fe7daf033c0c9344413355d615b1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Oct 2017 16:19:03 +0200 Subject: score: Rename _Watchdog_Ticks_from_*() Rename _Watchdog_Ticks_from_*() to _Watchdog_Realtime_from_*(). This highlights that these routines are used for the CLOCK_REALTIME watchdogs (in contrast to CLOCK_MONOTONIC). Update #3117. Update #3182. --- cpukit/posix/src/nanosleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/posix') diff --git a/cpukit/posix/src/nanosleep.c b/cpukit/posix/src/nanosleep.c index 13f4536f6e..b2c169373a 100644 --- a/cpukit/posix/src/nanosleep.c +++ b/cpukit/posix/src/nanosleep.c @@ -152,7 +152,7 @@ int nanosleep( if ( err != 0 ) return -1; _Timespec_Add_to( &now, rqtp ); - ticks = _Watchdog_Ticks_from_timespec( &now ); + ticks = _Watchdog_Realtime_from_timespec( &now ); err = nanosleep_helper( CLOCK_REALTIME, ticks, &now, @@ -209,7 +209,7 @@ int clock_nanosleep( _Timespec_Add_to( &timeout, rqtp ); if ( clock_id == CLOCK_REALTIME ) { - ticks = _Watchdog_Ticks_from_timespec( &timeout ); + ticks = _Watchdog_Realtime_from_timespec( &timeout ); err = nanosleep_helper( clock_id, ticks, -- cgit v1.2.3