summaryrefslogtreecommitdiff
path: root/src/daemontools-extras/s6-tai64nlocal.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-09 23:42:35 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-09 23:42:35 +0000
commitaaea6322e9e765969f452764e51ca1ddd9783264 (patch)
tree4e863537677e0266a79c4045c47a5e6b9f64a1a8 /src/daemontools-extras/s6-tai64nlocal.c
parentce2977ee9195612730bc8713f142c95f79605e75 (diff)
downloads6-aaea6322e9e765969f452764e51ca1ddd9783264.tar.xz
skalibs-2.11.0.0 API change
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/daemontools-extras/s6-tai64nlocal.c')
-rw-r--r--src/daemontools-extras/s6-tai64nlocal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemontools-extras/s6-tai64nlocal.c b/src/daemontools-extras/s6-tai64nlocal.c
index 097102b..75dd5a3 100644
--- a/src/daemontools-extras/s6-tai64nlocal.c
+++ b/src/daemontools-extras/s6-tai64nlocal.c
@@ -17,7 +17,7 @@ int main (int argc, char const *const *argv)
int islocal = 1 ;
PROG = "s6-tai64nlocal" ;
{
- subgetopt_t l = SUBGETOPT_ZERO ;
+ subgetopt l = SUBGETOPT_ZERO ;
for (;;)
{
int opt = subgetopt_r(argc, argv, "g", &l) ;
@@ -42,11 +42,11 @@ int main (int argc, char const *const *argv)
else if (!r) break ;
if (satmp.len > TIMESTAMP)
{
- tain_t a ;
+ tain a ;
p = timestamp_scan(satmp.s, &a) ;
if (p)
{
- localtmn_t local ;
+ localtmn local ;
if (localtmn_from_tain(&local, &a, islocal))
{
char fmt[LOCALTMN_FMT+1] ;