summaryrefslogtreecommitdiff
path: root/src/clients/s6-dnsq.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-04 11:24:03 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-04 11:24:03 +0000
commit29f70f35a48241eef0a690a00d5211f487972cba (patch)
tree7153e8f6623aed91a7d98a4961730bd161ac8a1a /src/clients/s6-dnsq.c
parentffed76f91e3623f40d1ebffffc0bc728722c84f5 (diff)
downloads6-dns-29f70f35a48241eef0a690a00d5211f487972cba.tar.xz
Adapt to skalibs-2.11
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/clients/s6-dnsq.c')
-rw-r--r--src/clients/s6-dnsq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clients/s6-dnsq.c b/src/clients/s6-dnsq.c
index 207c58f..d7d915e 100644
--- a/src/clients/s6-dnsq.c
+++ b/src/clients/s6-dnsq.c
@@ -20,13 +20,13 @@
int main (int argc, char const *const *argv)
{
- tain_t deadline ;
+ tain deadline ;
unsigned int debuglevel = 0 ;
uint16_t qtype ;
- genwrite_t *where = &genwrite_stderr ;
+ genwrite *where = &genwrite_stderr ;
PROG = "s6-dnsq" ;
{
- subgetopt_t l = SUBGETOPT_ZERO ;
+ subgetopt l = SUBGETOPT_ZERO ;
unsigned int t = 0 ;
for (;;)
{
@@ -58,7 +58,7 @@ int main (int argc, char const *const *argv)
memset(&servers, 0, sizeof(s6dns_ip46list_t)) ;
for (; (i < (unsigned int)(argc - 2)) && (j < S6DNS_MAX_SERVERS) ; i++)
{
- ip46_t z[S6DNS_MAX_SERVERS] ;
+ ip46 z[S6DNS_MAX_SERVERS] ;
size_t n ;
unsigned int k = 0 ;
if (!*argv[2+i]) continue ;