mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
dns_view_create(): 'name' to (const char *) instead of (char *)
This commit is contained in:
parent
0b16ae54f7
commit
6f44af1c83
@ -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.
|
||||
*
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user