about summary refs log tree commit diff
path: root/src/conn-tools/s6-sudoc.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/conn-tools/s6-sudoc.c
parentce2977ee9195612730bc8713f142c95f79605e75 (diff)
downloads6-aaea6322e9e765969f452764e51ca1ddd9783264.tar.gz
s6-aaea6322e9e765969f452764e51ca1ddd9783264.tar.xz
s6-aaea6322e9e765969f452764e51ca1ddd9783264.zip
skalibs-2.11.0.0 API change
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/conn-tools/s6-sudoc.c')
-rw-r--r--src/conn-tools/s6-sudoc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conn-tools/s6-sudoc.c b/src/conn-tools/s6-sudoc.c
index fe6af5d..6d923df 100644
--- a/src/conn-tools/s6-sudoc.c
+++ b/src/conn-tools/s6-sudoc.c
@@ -29,12 +29,12 @@ int main (int argc, char const *const *argv, char const *const *envp)
 {
   char buf6[64] ;
   buffer b6 = BUFFER_INIT(&buffer_read, 6, buf6, 64) ;
-  unixmessage_sender_t b7 = UNIXMESSAGE_SENDER_INIT(7) ;
-  subgetopt_t l = SUBGETOPT_ZERO ;
+  unixmessage_sender b7 = UNIXMESSAGE_SENDER_INIT(7) ;
+  subgetopt l = SUBGETOPT_ZERO ;
   unsigned int t = 0, T = 0 ;
   int doenv = 1 ;
   
-  tain_t deadline = TAIN_INFINITE_RELATIVE ;
+  tain deadline = TAIN_INFINITE_RELATIVE ;
   PROG = "s6-sudoc" ;
   for (;;)
   {
@@ -76,7 +76,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
       { .iov_base = pack, .iov_len = 16 },
       { .iov_base = 0, .iov_len = 0 },
       { .iov_base = 0, .iov_len = 0 } } ;
-    unixmessage_v_t mv = { .v = v, .vlen = 4, .fds = fds, .nfds = 3 } ;
+    unixmessagev mv = { .v = v, .vlen = 4, .fds = fds, .nfds = 3 } ;
     stralloc sa = STRALLOC_ZERO ;
     size_t envlen = doenv ? env_len(envp) : 0 ;
     uint32_pack_big(pack, (uint32_t)argc) ;