X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Ftime-util.h;h=ec263c1a19b5772afdcea8c48149610641836d3c;hb=9f26c90cb50c45d4549c4dd569917b4ac143b94d;hp=7194875ec286df81372830dbb46ce0264f955bc5;hpb=f274ece0f76b5709408821e317e87aef76123db6;p=elogind.git diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 7194875ec..ec263c1a1 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -61,6 +61,7 @@ usec_t now(clockid_t clock); dual_timestamp* dual_timestamp_get(dual_timestamp *ts); dual_timestamp* dual_timestamp_from_realtime(dual_timestamp *ts, usec_t u); +dual_timestamp* dual_timestamp_from_monotonic(dual_timestamp *ts, usec_t u); #define dual_timestamp_is_set(ts) ((ts)->realtime > 0)