diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-18 14:31:58 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-18 14:31:58 +0000 |
commit | 8e6215ee13dc507f2c0a4ab8a02e2d974265d83d (patch) | |
tree | 3a46becbfc943479877da4db2a7bdbe389583bd2 /src | |
parent | 0f81e50733845b5b67156bff6392c5e8db3c169d (diff) | |
download | skalibs-8e6215ee13dc507f2c0a4ab8a02e2d974265d83d.tar.xz |
Add tain_infinite
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/skalibs/tai.h | 1 | ||||
-rw-r--r-- | src/libstddjb/tain_infinite.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/include/skalibs/tai.h b/src/include/skalibs/tai.h index bb75972..8bf2386 100644 --- a/src/include/skalibs/tai.h +++ b/src/include/skalibs/tai.h @@ -67,6 +67,7 @@ struct tain_s extern tain STAMP ; /* the global process wallclock */ extern tain const tain_zero ; extern tain const tain_infinite_relative ; +extern tain const tain_infinite ; extern tain const tain_nano500 ; #define tain_sec(a) ((a)->sec) diff --git a/src/libstddjb/tain_infinite.c b/src/libstddjb/tain_infinite.c new file mode 100644 index 0000000..74dee9f --- /dev/null +++ b/src/libstddjb/tain_infinite.c @@ -0,0 +1,5 @@ +/* ISC license. */ + +#include <skalibs/tai.h> + +tain const tain_infinite = TAIN_INFINITE ; |