From 5ad27a3dc4b957191e2e657d41656810138ba789 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 11 Mar 2017 16:09:55 +0000 Subject: Adapt to skalibs-2.5.0.0 --- src/libs6dns/s6dns_resolveq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs6dns/s6dns_resolveq.c') diff --git a/src/libs6dns/s6dns_resolveq.c b/src/libs6dns/s6dns_resolveq.c index 7fad70f..eeb7335 100644 --- a/src/libs6dns/s6dns_resolveq.c +++ b/src/libs6dns/s6dns_resolveq.c @@ -16,7 +16,7 @@ int s6dns_resolveq_r (char const *name, unsigned int len, uint16_t qtype, s6dns_ unsigned int best = 0 ; unsigned int n ; int e = 0 ; - register unsigned int i = 0 ; + unsigned int i = 0 ; { s6dns_domain_t domains[rci->rulesnum] ; n = s6dns_domain_fromstring_qualify_encode(domains, name, len, rci->rules.s, rci->rulesnum) ; @@ -47,14 +47,14 @@ int s6dns_resolveq_r (char const *name, unsigned int len, uint16_t qtype, s6dns_ for (;;) { - register int k = s6dns_resolven_loop(dtl, n, 1, deadline, stamp) ; + int k = s6dns_resolven_loop(dtl, n, 1, deadline, stamp) ; if (k < 0) goto err ; if ((unsigned int)k == best) { for (;; best++) { s6dns_message_header_t h ; - register int r ; + int r ; if (best >= n) goto notfound ; if (error_isagain(dtl[best].status)) break ; if (dtl[best].status) { errno = dtl[best].status ; goto err ; } -- cgit v1.2.3