Commit 6f44af1c authored by Mark Andrews's avatar Mark Andrews
Browse files

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

parent 0b16ae54
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment