[v9_10] address portability issues

(cherry picked from commit a2bd99a959)
This commit is contained in:
Evan Hunt 2017-01-30 16:52:37 -08:00
parent 6106ed6841
commit 5eca4fc646
2 changed files with 3 additions and 3 deletions

View file

@ -6108,7 +6108,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;
@ -6140,7 +6140,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

@ -42,7 +42,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