diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-10 00:26:41 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-10 00:26:41 +0000 |
commit | fb68edd32df2e2d9b4e8eae813ce6c60d82b4204 (patch) | |
tree | 325aade56f0bc4578e1c7da190af629da1af242f /src/clock/s6-taiclockd.c | |
parent | 260f1feffc8d48f1181929ce12a9f2cb65a2a5cb (diff) | |
download | s6-networking-fb68edd32df2e2d9b4e8eae813ce6c60d82b4204.tar.xz |
Adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/clock/s6-taiclockd.c')
-rw-r--r-- | src/clock/s6-taiclockd.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) ; |