diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-05 12:34:49 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-05 12:34:49 +0000 |
commit | 520488b020d41b97b45465c0d86740c0354b996e (patch) | |
tree | a2956764deba589bdbd396713da6c62ac337b3c9 | |
parent | 79ba7ac3971ebbbcd10f43c6b8b71d800589a6b0 (diff) | |
download | skalibs-520488b020d41b97b45465c0d86740c0354b996e.tar.xz |
Add tain_zero
-rw-r--r-- | src/include/skalibs/tai.h | 1 | ||||
-rw-r--r-- | src/libstddjb/tain_zero.c | 5 |
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 ; |