summaryrefslogtreecommitdiff
path: root/src/clients/s6-dnsname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/s6-dnsname.c')
-rw-r--r--src/clients/s6-dnsname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/s6-dnsname.c b/src/clients/s6-dnsname.c
index 04e293f..b49718d 100644
--- a/src/clients/s6-dnsname.c
+++ b/src/clients/s6-dnsname.c
@@ -19,8 +19,8 @@
int main (int argc, char const *const *argv)
{
genalloc ds = GENALLOC_ZERO ; /* array of s6dns_domain_t */
- tain_t deadline ;
- ip46full_t ip = IP46FULL_ZERO ;
+ tain deadline ;
+ ip46full ip = IP46FULL_ZERO ;
unsigned int t = 0 ;
int flagunsort = 0 ;
int do4 = 0 ;
@@ -28,7 +28,7 @@ int main (int argc, char const *const *argv)
PROG = "s6-dnsname" ;
for (;;)
{
- int opt = subgetopt(argc, argv, "46rt:") ;
+ int opt = lgetopt(argc, argv, "46rt:") ;
if (opt == -1) break ;
switch (opt)
{