mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
implicitly declare list elements in ISC_LIST_FOREACH macros
ISC_LIST_FOREACH and related macros now use 'typeof(list.head)' to declare the list elements automatically; the caller no longer needs to do so. ISC_LIST_FOREACH_SAFE also now implicitly declares its own 'next' pointer, so it only needs three parameters instead of four.
This commit is contained in:
@@ -579,7 +579,6 @@ dns64prefix_answer(dns_message_t *msg, isc_buffer_t *buf) {
|
||||
static isc_result_t
|
||||
short_answer(dns_message_t *msg, dns_messagetextflag_t flags, isc_buffer_t *buf,
|
||||
dig_query_t *query) {
|
||||
dns_rdataset_t *rdataset;
|
||||
isc_result_t result, loopresult;
|
||||
dns_name_t empty_name;
|
||||
dns_rdata_t rdata = DNS_RDATA_INIT;
|
||||
|
Reference in New Issue
Block a user