summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_resolveq.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-11 16:09:55 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-11 16:09:55 +0000
commit5ad27a3dc4b957191e2e657d41656810138ba789 (patch)
tree07e7e00ab43b74d6a3fdff9ad80e93882921adfa /src/libs6dns/s6dns_resolveq.c
parentf417b72c9489cd7c20b94eb8904a8911b7f6fd15 (diff)
downloads6-dns-5ad27a3dc4b957191e2e657d41656810138ba789.tar.xz
Adapt to skalibs-2.5.0.0
Diffstat (limited to 'src/libs6dns/s6dns_resolveq.c')
-rw-r--r--src/libs6dns/s6dns_resolveq.c6
1 files changed, 3 insertions, 3 deletions
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 ; }