summaryrefslogtreecommitdiff
path: root/src/shared
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
parentd636d376796ec61c1c14fa619c80d4ac62e08a19 (diff)
clock-util: clock_[sg]et_time() -> clock_[sg]et_hwclock()
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/clock-util.c4
-rw-r--r--src/shared/clock-util.h4
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);