summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-tai64ndiff.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-10 17:59:16 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-10 17:59:16 +0000
commitb08261b5bb18d5c3f3fece09c5c582679f6c8bbc (patch)
tree799d6371a02c2a313eb00aa97c98e9c2d2a0d2e8 /src/skaembutils/s6-tai64ndiff.c
parent064b149613eae9a74a6fa91f062f253b816785c3 (diff)
downloads6-portable-utils-b08261b5bb18d5c3f3fece09c5c582679f6c8bbc.tar.xz
Prepare for 2.2.3.3 ; adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/skaembutils/s6-tai64ndiff.c')
-rw-r--r--src/skaembutils/s6-tai64ndiff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skaembutils/s6-tai64ndiff.c b/src/skaembutils/s6-tai64ndiff.c
index 25abea3..ac6ff68 100644
--- a/src/skaembutils/s6-tai64ndiff.c
+++ b/src/skaembutils/s6-tai64ndiff.c
@@ -15,7 +15,7 @@
int main (int argc, char const *const *argv)
{
stralloc sa = STRALLOC_ZERO ;
- tain_t prev ;
+ tain prev ;
int defined = 0 ;
PROG = "s6-tai64ndiff" ;
@@ -31,13 +31,13 @@ int main (int argc, char const *const *argv)
else if (!r) break ;
if (sa.len > TIMESTAMP)
{
- tain_t cur ;
+ tain cur ;
p = timestamp_scan(sa.s, &cur) ;
if (p)
{
if (defined)
{
- tain_t diff ;
+ tain diff ;
int64_t secs ;
size_t len ;
tain_sub(&diff, &cur, &prev) ;