Merge pull request #22885 from poettering/kill-clock-boottime-or-monotonic

time-util: assume CLOCK_BOOTTIME always exists
This commit is contained in:
Yu Watanabe
2022-03-29 03:06:54 +09:00
committed by GitHub
46 changed files with 122 additions and 176 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ struct Timer {
char *stamp_path;
};
#define TIMER_MONOTONIC_CLOCK(t) ((t)->wake_system && clock_boottime_supported() ? CLOCK_BOOTTIME_ALARM : CLOCK_MONOTONIC)
#define TIMER_MONOTONIC_CLOCK(t) ((t)->wake_system ? CLOCK_BOOTTIME_ALARM : CLOCK_MONOTONIC)
void timer_free_values(Timer *t);