summaryrefslogtreecommitdiff
path: root/src/shared/time-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-11 20:49:43 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-11 20:55:09 +0100
commit842129f58752864d4433792c9c47d40508c4439a (patch)
treeefe039c4064ff1d79e4988f8c704361aaaa38f42 /src/shared/time-util.h
parentf9a810bedacf1da7c505c1786a2416d592665926 (diff)
service: clean up watchdog logic a bit
Diffstat (limited to 'src/shared/time-util.h')
-rw-r--r--src/shared/time-util.h2
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);