diff options
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/mr_9.c')
-rw-r--r-- | usr.bin/dig/lib/dns/rdata/generic/mr_9.c | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/mr_9.c b/usr.bin/dig/lib/dns/rdata/generic/mr_9.c index e50a46c01ec..f719e97691f 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/mr_9.c +++ b/usr.bin/dig/lib/dns/rdata/generic/mr_9.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: mr_9.c,v 1.2 2020/02/20 18:08:51 florian Exp $ */ +/* $Id: mr_9.c,v 1.3 2020/02/23 19:54:26 jung Exp $ */ /* Reviewed: Wed Mar 15 21:30:35 EST 2000 by tale */ @@ -151,31 +151,6 @@ freestruct_mr(ARGS_FREESTRUCT) { dns_name_free(&mr->mr); } -static inline isc_result_t -additionaldata_mr(ARGS_ADDLDATA) { - REQUIRE(rdata->type == dns_rdatatype_mr); - - UNUSED(rdata); - UNUSED(add); - UNUSED(arg); - - return (ISC_R_SUCCESS); -} - -static inline isc_result_t -digest_mr(ARGS_DIGEST) { - isc_region_t r; - dns_name_t name; - - REQUIRE(rdata->type == dns_rdatatype_mr); - - dns_rdata_toregion(rdata, &r); - dns_name_init(&name, NULL); - dns_name_fromregion(&name, &r); - - return (dns_name_digest(&name, digest, arg)); -} - static inline isc_boolean_t checkowner_mr(ARGS_CHECKOWNER) { @@ -189,18 +164,6 @@ checkowner_mr(ARGS_CHECKOWNER) { return (ISC_TRUE); } -static inline isc_boolean_t -checknames_mr(ARGS_CHECKNAMES) { - - REQUIRE(rdata->type == dns_rdatatype_mr); - - UNUSED(rdata); - UNUSED(owner); - UNUSED(bad); - - return (ISC_TRUE); -} - static inline int casecompare_mr(ARGS_COMPARE) { return (compare_mr(rdata1, rdata2)); |