diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-04 11:24:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-04 11:24:03 +0000 |
commit | 29f70f35a48241eef0a690a00d5211f487972cba (patch) | |
tree | 7153e8f6623aed91a7d98a4961730bd161ac8a1a /src/clients/s6-dnstxt.c | |
parent | ffed76f91e3623f40d1ebffffc0bc728722c84f5 (diff) | |
download | s6-dns-29f70f35a48241eef0a690a00d5211f487972cba.tar.xz |
Adapt to skalibs-2.11
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/clients/s6-dnstxt.c')
-rw-r--r-- | src/clients/s6-dnstxt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/s6-dnstxt.c b/src/clients/s6-dnstxt.c index 22e9776..c7c31cd 100644 --- a/src/clients/s6-dnstxt.c +++ b/src/clients/s6-dnstxt.c @@ -21,7 +21,7 @@ int main (int argc, char const *const *argv) stralloc quoted = STRALLOC_ZERO ; stralloc sa = STRALLOC_ZERO ; genalloc offsets = GENALLOC_ZERO ; /* array of size_t */ - tain_t deadline ; + tain deadline ; size_t n ; size_t i = 0 ; unsigned int t = 0 ; @@ -30,7 +30,7 @@ int main (int argc, char const *const *argv) PROG = "s6-dnstxt" ; for (;;) { - int opt = subgetopt(argc, argv, "qrt:") ; + int opt = lgetopt(argc, argv, "qrt:") ; if (opt == -1) break ; switch (opt) { |