summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/res_mkquery.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2014-03-14 11:07:33 +0000
committereric <eric@openbsd.org>2014-03-14 11:07:33 +0000
commitf90bf415b20efd35894ea06f2ffa5f316679a258 (patch)
tree8dbe5c596cb132fa78cff453f74825ebb63df51b /lib/libc/asr/res_mkquery.c
parentuse lemtoh64 and htolem64 for reading and writing entries in the rings. (diff)
downloadwireguard-openbsd-f90bf415b20efd35894ea06f2ffa5f316679a258.tar.xz
wireguard-openbsd-f90bf415b20efd35894ea06f2ffa5f316679a258.zip
prefix structure names to avoid ambiguity and possible collisions when
the API gets public. ok deraadt@
Diffstat (limited to 'lib/libc/asr/res_mkquery.c')
-rw-r--r--lib/libc/asr/res_mkquery.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/asr/res_mkquery.c b/lib/libc/asr/res_mkquery.c
index 8e9e2689129..9f2aa0de883 100644
--- a/lib/libc/asr/res_mkquery.c
+++ b/lib/libc/asr/res_mkquery.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_mkquery.c,v 1.6 2013/07/12 14:36:22 eric Exp $ */
+/* $OpenBSD: res_mkquery.c,v 1.7 2014/03/14 11:07:33 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -32,11 +32,11 @@ res_mkquery(int op, const char *dname, int class, int type,
const unsigned char *data, int datalen, const unsigned char *newrr,
unsigned char *buf, int buflen)
{
- struct asr_ctx *ac;
- struct pack p;
- struct header h;
- char fqdn[MAXDNAME];
- char dn[MAXDNAME];
+ struct asr_ctx *ac;
+ struct asr_pack p;
+ struct asr_dns_header h;
+ char fqdn[MAXDNAME];
+ char dn[MAXDNAME];
/* we currently only support QUERY */
if (op != QUERY || data)