summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_resolven_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6dns/s6dns_resolven_parse.c')
-rw-r--r--src/libs6dns/s6dns_resolven_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs6dns/s6dns_resolven_parse.c b/src/libs6dns/s6dns_resolven_parse.c
index 78289bc..a53f605 100644
--- a/src/libs6dns/s6dns_resolven_parse.c
+++ b/src/libs6dns/s6dns_resolven_parse.c
@@ -11,7 +11,7 @@
int s6dns_resolven_parse_r (s6dns_resolve_t *list, unsigned int n, s6dns_ip46list_t const *servers, s6dns_debughook_t const *dbh, tain_t const *deadline, tain_t *stamp)
{
s6dns_engine_t dtl[n] ;
- register unsigned int i = 0 ;
+ unsigned int i = 0 ;
for (; i < n ; i++) list[i].status = ECONNABORTED ;
for (i = 0 ; i < n ; i++)
{
@@ -33,7 +33,7 @@ int s6dns_resolven_parse_r (s6dns_resolve_t *list, unsigned int n, s6dns_ip46lis
else
{
s6dns_message_header_t h ;
- register int r = s6dns_message_parse(&h, s6dns_engine_packet(dtl + i), s6dns_engine_packetlen(dtl + i), list[i].parsefunc, list[i].data) ;
+ int r = s6dns_message_parse(&h, s6dns_engine_packet(dtl + i), s6dns_engine_packetlen(dtl + i), list[i].parsefunc, list[i].data) ;
if (r < 0) goto err ;
list[i].status = r ? 0 : errno ;
}