From 003a40178fe1cc0b89e2fb1424a535dcddf12611 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 7 Jun 2000 00:11:51 +0000 Subject: [PATCH] make DNS_RDATACOMMON_INIT work again. structure elemnts had the same name as the downcased macro argument names --- lib/dns/rdata/rdatastructpre.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dns/rdata/rdatastructpre.h b/lib/dns/rdata/rdatastructpre.h index 52df9cfe14..e198c43857 100644 --- a/lib/dns/rdata/rdatastructpre.h +++ b/lib/dns/rdata/rdatastructpre.h @@ -31,9 +31,9 @@ typedef struct dns_rdatacommon { ISC_LINK(struct dns_rdatacommon) link; } dns_rdatacommon_t; -#define DNS_RDATACOMMON_INIT(data, rdtype, rdclass) \ +#define DNS_RDATACOMMON_INIT(_data, _rdtype, _rdclass) \ do { \ - (data)->common.rdtype = (rdtype); \ - (data)->common.rdclass = (rdclass); \ - ISC_LINK_INIT(&(data)->common, link); \ + (_data)->common.rdtype = (_rdtype); \ + (_data)->common.rdclass = (_rdclass); \ + ISC_LINK_INIT(&(_data)->common, link); \ } while (0)