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:
@@ -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.
|
||||||
*
|
*
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user