summaryrefslogtreecommitdiffstats
path: root/core/units.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/units.h')
-rw-r--r--core/units.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/units.h b/core/units.h
index da7bda0b2..95a9b0eb1 100644
--- a/core/units.h
+++ b/core/units.h
@@ -78,6 +78,8 @@ typedef struct
int32_t seconds; // durations up to 34 yrs
} duration_t;
+static const duration_t zero_duration = { 0 };
+
typedef struct
{
int32_t seconds; // offsets up to +/- 34 yrs