diff options
-rw-r--r-- | package/deps.mak | 1 | ||||
-rw-r--r-- | src/include/skalibs/tai.h | 1 | ||||
-rw-r--r-- | src/libstddjb/tain_infinite.c | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/package/deps.mak b/package/deps.mak index 75192e9..a661837 100644 --- 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 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 ; |