skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 8e6215ee13dc507f2c0a4ab8a02e2d974265d83d
parent 0f81e50733845b5b67156bff6392c5e8db3c169d
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Wed, 18 Aug 2021 14:31:58 +0000

 Add tain_infinite

Signed-off-by: Laurent Bercot <ska@appnovation.com>

Diffstat:
Mpackage/deps.mak | 1+
Msrc/include/skalibs/tai.h | 1+
Asrc/libstddjb/tain_infinite.c | 5+++++
3 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/package/deps.mak b/package/deps.mak @@ -611,6 +611,7 @@ src/libstddjb/tain_from_timespec_sysclock.o src/libstddjb/tain_from_timespec_sys src/libstddjb/tain_from_timeval.o src/libstddjb/tain_from_timeval.lo: src/libstddjb/tain_from_timeval.c src/include/skalibs/tai.h src/libstddjb/tain_from_timeval_sysclock.o src/libstddjb/tain_from_timeval_sysclock.lo: src/libstddjb/tain_from_timeval_sysclock.c src/include/skalibs/tai.h src/libstddjb/tain_half.o src/libstddjb/tain_half.lo: src/libstddjb/tain_half.c src/include/skalibs/tai.h +src/libstddjb/tain_infinite.o src/libstddjb/tain_infinite.lo: src/libstddjb/tain_infinite.c src/include/skalibs/tai.h src/libstddjb/tain_infinite_relative.o src/libstddjb/tain_infinite_relative.lo: src/libstddjb/tain_infinite_relative.c src/include/skalibs/tai.h src/libstddjb/tain_less.o src/libstddjb/tain_less.lo: src/libstddjb/tain_less.c src/include/skalibs/tai.h src/libstddjb/tain_nano500.o src/libstddjb/tain_nano500.lo: src/libstddjb/tain_nano500.c src/include/skalibs/tai.h diff --git 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 @@ -0,0 +1,5 @@ +/* ISC license. */ + +#include <skalibs/tai.h> + +tain const tain_infinite = TAIN_INFINITE ;