2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

dns_view_create(): 'name' to (const char *) instead of (char *)

This commit is contained in:
Mark Andrews
1999-10-14 06:00:55 +00:00
parent 0b16ae54f7
commit 6f44af1c83
2 changed files with 4 additions and 4 deletions

View File

@@ -95,8 +95,8 @@ struct dns_view {
(view)->magic == DNS_VIEW_MAGIC) (view)->magic == DNS_VIEW_MAGIC)
isc_result_t isc_result_t
dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, char *name, dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
dns_view_t **viewp); const char *name, dns_view_t **viewp);
/* /*
* Create a view. * Create a view.
* *

View File

@@ -37,8 +37,8 @@
#include "../isc/util.h" /* XXXRTH */ #include "../isc/util.h" /* XXXRTH */
isc_result_t isc_result_t
dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, char *name, dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
dns_view_t **viewp) const char *name, dns_view_t **viewp)
{ {
dns_view_t *view; dns_view_t *view;
isc_result_t result; isc_result_t result;