summaryrefslogtreecommitdiff
path: root/lib/libc/asr/getnetnamadr_async.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2014-03-14 11:07:34 +0000
committerEric Faurot <eric@cvs.openbsd.org>2014-03-14 11:07:34 +0000
commit340cad4cb28bf198266d015c50aa486d45ba5120 (patch)
tree62ca4dd20bf72e072f08389fe15b7930f515ff4b /lib/libc/asr/getnetnamadr_async.c
parent8b088944de0049abe3ba91c3d5ec88c88c72e033 (diff)
prefix structure names to avoid ambiguity and possible collisions when
the API gets public. ok deraadt@
Diffstat (limited to 'lib/libc/asr/getnetnamadr_async.c')
-rw-r--r--lib/libc/asr/getnetnamadr_async.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/asr/getnetnamadr_async.c b/lib/libc/asr/getnetnamadr_async.c
index 1a2378d76f7..af46c5ba89e 100644
--- a/lib/libc/asr/getnetnamadr_async.c
+++ b/lib/libc/asr/getnetnamadr_async.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getnetnamadr_async.c,v 1.11 2014/02/26 20:00:08 eric Exp $ */
+/* $OpenBSD: getnetnamadr_async.c,v 1.12 2014/03/14 11:07:33 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -320,10 +320,10 @@ static struct netent_ext *
netent_from_packet(int reqtype, char *pkt, size_t pktlen)
{
struct netent_ext *n;
- struct unpack p;
- struct header hdr;
- struct query q;
- struct rr rr;
+ struct asr_unpack p;
+ struct asr_dns_header hdr;
+ struct asr_dns_query q;
+ struct asr_dns_rr rr;
if ((n = netent_alloc(AF_INET)) == NULL)
return (NULL);