summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coretodadjust.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-27 21:32:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-02 07:46:16 +0200
commit3888771772a57b4c924e1987e603e7a1b957e07c (patch)
tree7381df5727980502ce30d913149d5750c0ef7496 /cpukit/score/src/coretodadjust.c
parentscore: _Objects_Get_name_as_string() (diff)
downloadrtems-3888771772a57b4c924e1987e603e7a1b957e07c.tar.bz2
score: Streamline set time of day functions
Rename _TOD_Set() into _TOD_Set_with_timespec(). Rename _TOD_Set_with_timestamp() into _TOD_Set(). This is now in line with _TOD_Get() and _TOD_Get_as_timespec(). The timestamp is the canonical format.
Diffstat (limited to 'cpukit/score/src/coretodadjust.c')
-rw-r--r--cpukit/score/src/coretodadjust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coretodadjust.c b/cpukit/score/src/coretodadjust.c
index 6097e207dc..51c10ec849 100644
--- a/cpukit/score/src/coretodadjust.c
+++ b/cpukit/score/src/coretodadjust.c
@@ -44,7 +44,7 @@ void _TOD_Adjust(
_Timestamp_Add_to( &tod, &delta );
- _TOD_Set_with_timestamp( &tod );
+ _TOD_Set( &tod );
_Thread_Enable_dispatch();
}