summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorRay Bellis <ray@isc.org>2015-10-21 14:50:39 +0200
committerRay Bellis <ray@isc.org>2015-10-21 14:50:39 +0200
commitf723a72af74d06600a76f00cdf6da68a3cdbb6b6 (patch)
tree5309fe16230256b15f007a03943150c177eb3c66 /rr.c
parent7252f4981485170cb36993540270eedfd6a83439 (diff)
downloadldns-f723a72af74d06600a76f00cdf6da68a3cdbb6b6.tar.gz
yet more const goodness
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rr.c b/rr.c
index c73df3db..6d0c32e8 100644
--- a/rr.c
+++ b/rr.c
@@ -111,8 +111,8 @@ ldns_rdf_type_maybe_quoted(ldns_rdf_type rdf_type)
*/
static ldns_status
ldns_rr_new_frm_str_internal(ldns_rr **newrr, const char *str,
- uint32_t default_ttl, ldns_rdf *origin,
- ldns_rdf **prev, bool question)
+ uint32_t default_ttl, const ldns_rdf *origin,
+ ldns_rdf **prev, bool question)
{
ldns_rr *new;
const ldns_rr_descriptor *desc;
@@ -647,8 +647,8 @@ error:
ldns_status
ldns_rr_new_frm_str(ldns_rr **newrr, const char *str,
- uint32_t default_ttl, ldns_rdf *origin,
- ldns_rdf **prev)
+ uint32_t default_ttl, const ldns_rdf *origin,
+ ldns_rdf **prev)
{
return ldns_rr_new_frm_str_internal(newrr,
str,
@@ -660,7 +660,7 @@ ldns_rr_new_frm_str(ldns_rr **newrr, const char *str,
ldns_status
ldns_rr_new_question_frm_str(ldns_rr **newrr, const char *str,
- ldns_rdf *origin, ldns_rdf **prev)
+ const ldns_rdf *origin, ldns_rdf **prev)
{
return ldns_rr_new_frm_str_internal(newrr,
str,