From fb68edd32df2e2d9b4e8eae813ce6c60d82b4204 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 10 Aug 2021 00:26:41 +0000 Subject: Adapt to skalibs-2.11.0.0 Signed-off-by: Laurent Bercot --- src/clock/s6-taiclockd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/clock/s6-taiclockd.c') diff --git a/src/clock/s6-taiclockd.c b/src/clock/s6-taiclockd.c index e76a9c5..7b2a725 100644 --- a/src/clock/s6-taiclockd.c +++ b/src/clock/s6-taiclockd.c @@ -16,9 +16,9 @@ int main (int argc, char const *const *argv) { int s ; - ip46_t ip = IP46_ZERO ; + ip46 ip = IP46_ZERO ; uint16_t port = 4014 ; - subgetopt_t l = SUBGETOPT_ZERO ; + subgetopt l = SUBGETOPT_ZERO ; PROG = "s6-taiclockd" ; for (;;) { @@ -44,7 +44,7 @@ int main (int argc, char const *const *argv) ssize_t r = socket_recv46(s, packet, 256, &ip, &port) ; if ((r >= 20) && !memcmp(packet, "ctai", 4)) { - tain_t now ; + tain now ; packet[0] = 's' ; if (!tain_wallclock_read(&now)) strerr_diefu1sys(111, "tain_wallclock_read") ; tain_pack(packet + 4, &now) ; -- cgit v1.2.3