From 6f44af1c8320e84d6b0c0c42bacadfe3020d9a91 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 14 Oct 1999 06:00:55 +0000 Subject: [PATCH] dns_view_create(): 'name' to (const char *) instead of (char *) --- lib/dns/include/dns/view.h | 4 ++-- lib/dns/view.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dns/include/dns/view.h b/lib/dns/include/dns/view.h index 394cc9ae4d..84532a96a0 100644 --- a/lib/dns/include/dns/view.h +++ b/lib/dns/include/dns/view.h @@ -95,8 +95,8 @@ struct dns_view { (view)->magic == DNS_VIEW_MAGIC) isc_result_t -dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, char *name, - dns_view_t **viewp); +dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, + const char *name, dns_view_t **viewp); /* * Create a view. * diff --git a/lib/dns/view.c b/lib/dns/view.c index dd5a05a0d7..c710ec1d5a 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -37,8 +37,8 @@ #include "../isc/util.h" /* XXXRTH */ isc_result_t -dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, char *name, - dns_view_t **viewp) +dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, + const char *name, dns_view_t **viewp) { dns_view_t *view; isc_result_t result;