summaryrefslogtreecommitdiffstats
path: root/contrib/unbound/libunbound/context.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-15 01:31:55 +0000
committerdes <des@FreeBSD.org>2013-09-15 01:31:55 +0000
commitafd37a4511a77881b9a2b3c85215f804152ce5d8 (patch)
tree5beb464f06e7482ec304fecdb6f92abcc06f6ae2 /contrib/unbound/libunbound/context.c
parent1c7b2ddc247c0586e80bd9fd52dc8e6772c40369 (diff)
downloadFreeBSD-src-afd37a4511a77881b9a2b3c85215f804152ce5d8.zip
FreeBSD-src-afd37a4511a77881b9a2b3c85215f804152ce5d8.tar.gz
Wholesale constification.
Approved by: re (blanket)
Diffstat (limited to 'contrib/unbound/libunbound/context.c')
-rw-r--r--contrib/unbound/libunbound/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/unbound/libunbound/context.c b/contrib/unbound/libunbound/context.c
index f283079..e3e6496 100644
--- a/contrib/unbound/libunbound/context.c
+++ b/contrib/unbound/libunbound/context.c
@@ -124,7 +124,7 @@ find_id(struct ub_ctx* ctx, int* id)
}
struct ctx_query*
-context_new(struct ub_ctx* ctx, char* name, int rrtype, int rrclass,
+context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass,
ub_callback_t cb, void* cbarg)
{
struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q));
OpenPOWER on IntegriCloud