diff options
author | 2014-03-14 11:07:33 +0000 | |
---|---|---|
committer | 2014-03-14 11:07:33 +0000 | |
commit | f90bf415b20efd35894ea06f2ffa5f316679a258 (patch) | |
tree | 8dbe5c596cb132fa78cff453f74825ebb63df51b /lib/libc/asr/res_mkquery.c | |
parent | use lemtoh64 and htolem64 for reading and writing entries in the rings. (diff) | |
download | wireguard-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.c | 12 |
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) |