2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

[master] address portability issues

This commit is contained in:
Evan Hunt 2017-01-30 16:52:18 -08:00
parent 1d8995d226
commit a2bd99a959
2 changed files with 3 additions and 3 deletions

View File

@ -6199,7 +6199,7 @@ cname_target(dns_rdataset_t *rdataset, dns_name_t *tname) {
* the DNAME RR and store it in 'target'.
*/
static inline isc_result_t
dname_target(dns_rdataset_t *rdataset, const dns_name_t *qname,
dname_target(dns_rdataset_t *rdataset, dns_name_t *qname,
unsigned int nlabels, dns_name_t *target)
{
isc_result_t result;
@ -6231,7 +6231,7 @@ dname_target(dns_rdataset_t *rdataset, const dns_name_t *qname,
* and 'rdataset'.
*/
static inline isc_result_t
fromdname(dns_rdataset_t *rdataset, const dns_name_t *lastcname,
fromdname(dns_rdataset_t *rdataset, dns_name_t *lastcname,
unsigned int nlabels, const dns_name_t *qname)
{
dns_fixedname_t fixed;

View File

@ -33,7 +33,7 @@ typedef void (*isc_eventdestructor_t)(isc_event_t *);
isc_eventdestructor_t ev_destroy; \
void * ev_destroy_arg; \
ISC_LINK(ltype) ev_link; \
ISC_LINK(ltype) ev_ratelink;
ISC_LINK(ltype) ev_ratelink
/*%
* Attributes matching a mask of 0x000000ff are reserved for the task library's