summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/skalibs/tai.h1
-rw-r--r--src/libstddjb/tain_zero.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/include/skalibs/tai.h b/src/include/skalibs/tai.h
index cce5670..8a3f777 100644
--- a/src/include/skalibs/tai.h
+++ b/src/include/skalibs/tai.h
@@ -68,6 +68,7 @@ struct tain_s
#define TAIN_NANO500 { .sec = TAI_ZERO, .nano = 500 }
extern tain_t STAMP ; /* the global process wallclock */
+extern tain_t const tain_zero ;
extern tain_t const tain_infinite_relative ;
extern tain_t const tain_nano500 ;
diff --git a/src/libstddjb/tain_zero.c b/src/libstddjb/tain_zero.c
new file mode 100644
index 0000000..4a82f08
--- /dev/null
+++ b/src/libstddjb/tain_zero.c
@@ -0,0 +1,5 @@
+/* ISC license. */
+
+#include <skalibs/tai.h>
+
+tain_t const tain_zero = TAIN_ZERO ;