2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

4546. [func] Extend the use of const declarations. [RT #43379]

This commit is contained in:
Mark Andrews
2016-12-30 15:45:08 +11:00
parent 25f3b58edb
commit 52e2aab392
123 changed files with 1038 additions and 920 deletions

View File

@@ -47,7 +47,7 @@ rdata_covers(dns_rdata_t *rdata) {
isc_result_t
dns_difftuple_create(isc_mem_t *mctx,
dns_diffop_t op, dns_name_t *name, dns_ttl_t ttl,
dns_diffop_t op, const dns_name_t *name, dns_ttl_t ttl,
dns_rdata_t *rdata, dns_difftuple_t **tp)
{
dns_difftuple_t *t;
@@ -232,7 +232,7 @@ getownercase(dns_rdataset_t *rdataset, dns_name_t *name) {
}
static void
setownercase(dns_rdataset_t *rdataset, dns_name_t *name) {
setownercase(dns_rdataset_t *rdataset, const dns_name_t *name) {
if (dns_rdataset_isassociated(rdataset))
dns_rdataset_setownercase(rdataset, name);
}