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-clockadd.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-clockadd.c')
-rw-r--r-- | src/clock/s6-clockadd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clock/s6-clockadd.c b/src/clock/s6-clockadd.c index cd0dcbb..010222f 100644 --- a/src/clock/s6-clockadd.c +++ b/src/clock/s6-clockadd.c @@ -11,12 +11,12 @@ int main (int argc, char const *const *argv) { - tain_t now, adj ; + tain now, adj ; unsigned int emax = 2000 ; int flagforce = 0 ; PROG = "s6-clockadd" ; { - subgetopt_t l = SUBGETOPT_ZERO ; + subgetopt l = SUBGETOPT_ZERO ; for (;;) { int opt = subgetopt_r(argc, argv, "fe:", &l) ; @@ -39,7 +39,7 @@ int main (int argc, char const *const *argv) tain_from_millisecs(&now, emax) ; if (tain_less(&now, &adj)) { - tain_t tmp = TAIN_ZERO ; + tain tmp = TAIN_ZERO ; tain_sub(&tmp, &tmp, &adj) ; if (tain_less(&now, &tmp)) { |