diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-27 21:32:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-02 07:46:16 +0200 |
commit | 3888771772a57b4c924e1987e603e7a1b957e07c (patch) | |
tree | 7381df5727980502ce30d913149d5750c0ef7496 /cpukit/posix/src/clocksettime.c | |
parent | score: _Objects_Get_name_as_string() (diff) | |
download | rtems-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/posix/src/clocksettime.c')
-rw-r--r-- | cpukit/posix/src/clocksettime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/clocksettime.c b/cpukit/posix/src/clocksettime.c index a700ba986b..4d3be3b4a2 100644 --- a/cpukit/posix/src/clocksettime.c +++ b/cpukit/posix/src/clocksettime.c @@ -42,7 +42,7 @@ int clock_settime( rtems_set_errno_and_return_minus_one( EINVAL ); _Thread_Disable_dispatch(); - _TOD_Set( tp ); + _TOD_Set_with_timespec( tp ); _Thread_Enable_dispatch(); } #ifdef _POSIX_CPUTIME |