diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-11 20:49:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-11 20:55:09 +0100 |
commit | 842129f58752864d4433792c9c47d40508c4439a (patch) | |
tree | efe039c4064ff1d79e4988f8c704361aaaa38f42 /src/shared | |
parent | f9a810bedacf1da7c505c1786a2416d592665926 (diff) |
service: clean up watchdog logic a bit
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/time-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 0a3a98b187..913821a6bd 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -58,6 +58,8 @@ typedef struct dual_timestamp { #define FORMAT_TIMESTAMP_RELATIVE_MAX 256 #define FORMAT_TIMESPAN_MAX 64 +#define DUAL_TIMESTAMP_NULL ((struct dual_timestamp) { 0, 0 }) + usec_t now(clockid_t clock); dual_timestamp* dual_timestamp_get(dual_timestamp *ts); |