chiark / gitweb /
clock-util: clock_[sg]et_time() -> clock_[sg]et_hwclock()
[elogind.git] / src / shared / clock-util.c
index 4f31c10b816ed0a60b5ff0c211f2a6b412eb7127..e66db63ba01263eaac26339bb13294f8e0382e4c 100644 (file)
@@ -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);