#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);
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);
/*
* The very first time we set the kernel's timezone, it will warp
* the clock. Do a dummy call here, so the time warping is sealed
- * and we set only the timezone with next call.
+ * and we set only the timezone with the next call.
*/
if (settimeofday(tv_null, &tz) < 0)
return -errno;