diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/clock-util.c | 4 | ||||
-rw-r--r-- | src/shared/clock-util.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/clock-util.c b/src/shared/clock-util.c index 4f31c10b81..e66db63ba0 100644 --- a/src/shared/clock-util.c +++ b/src/shared/clock-util.c @@ -43,7 +43,7 @@ #include "clock-util.h" #include "fileio.h" -int clock_get_time(struct tm *tm) { +int clock_get_hwclock(struct tm *tm) { _cleanup_close_ int fd = -1; assert(tm); @@ -64,7 +64,7 @@ int clock_get_time(struct tm *tm) { return 0; } -int clock_set_time(const struct tm *tm) { +int clock_set_hwclock(const struct tm *tm) { _cleanup_close_ int fd = -1; assert(tm); diff --git a/src/shared/clock-util.h b/src/shared/clock-util.h index 63d96fca6d..4deeac7736 100644 --- a/src/shared/clock-util.h +++ b/src/shared/clock-util.h @@ -24,5 +24,5 @@ int clock_is_localtime(void); int clock_set_timezone(int *min); int clock_reset_timezone(void); -int clock_get_time(struct tm *tm); -int clock_set_time(const struct tm *tm); +int clock_get_hwclock(struct tm *tm); +int clock_set_hwclock(const struct tm *tm); |