commit 520488b020d41b97b45465c0d86740c0354b996e
parent 79ba7ac3971ebbbcd10f43c6b8b71d800589a6b0
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Fri, 5 Dec 2014 12:34:49 +0000
Add tain_zero
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git 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
@@ -0,0 +1,5 @@
+/* ISC license. */
+
+#include <skalibs/tai.h>
+
+tain_t const tain_zero = TAIN_ZERO ;