X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fclock-util.c;h=e66db63ba01263eaac26339bb13294f8e0382e4c;hb=7de80bfe2e61d5818601ccfddbadad3b7703ed70;hp=4f31c10b816ed0a60b5ff0c211f2a6b412eb7127;hpb=d636d376796ec61c1c14fa619c80d4ac62e08a19;p=elogind.git diff --git a/src/shared/clock-util.c b/src/shared/clock-util.c index 4f31c10b8..e66db63ba 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);