summaryrefslogtreecommitdiff
path: root/src/shared/clock-util.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-24 10:26:33 +0800
committerKay Sievers <kay@vrfy.org>2014-05-24 10:26:33 +0800
commit609896125cb89cac2fcd5b80b532de97d7a64c0a (patch)
treef82423bb0fd2b460090390f1d05e87c728423d49 /src/shared/clock-util.c
parentd636d376796ec61c1c14fa619c80d4ac62e08a19 (diff)
clock-util: clock_[sg]et_time() -> clock_[sg]et_hwclock()
Diffstat (limited to 'src/shared/clock-util.c')
-rw-r--r--src/shared/clock-util.c4
1 files changed, 2 insertions, 2 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);