summaryrefslogtreecommitdiff
path: root/usr.bin/dig/lib/dns/rdata/generic/mf_4.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/mf_4.c')
-rw-r--r--usr.bin/dig/lib/dns/rdata/generic/mf_4.c43
1 files changed, 1 insertions, 42 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/mf_4.c b/usr.bin/dig/lib/dns/rdata/generic/mf_4.c
index 1c8796c9074..7c215e22f27 100644
--- a/usr.bin/dig/lib/dns/rdata/generic/mf_4.c
+++ b/usr.bin/dig/lib/dns/rdata/generic/mf_4.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: mf_4.c,v 1.2 2020/02/20 18:08:51 florian Exp $ */
+/* $Id: mf_4.c,v 1.3 2020/02/23 19:54:26 jung Exp $ */
/* reviewed: Wed Mar 15 17:47:33 PST 2000 by brister */
@@ -151,35 +151,6 @@ freestruct_mf(ARGS_FREESTRUCT) {
dns_name_free(&mf->mf);
}
-static inline isc_result_t
-additionaldata_mf(ARGS_ADDLDATA) {
- dns_name_t name;
- dns_offsets_t offsets;
- isc_region_t region;
-
- REQUIRE(rdata->type == dns_rdatatype_mf);
-
- dns_name_init(&name, offsets);
- dns_rdata_toregion(rdata, &region);
- dns_name_fromregion(&name, &region);
-
- return ((add)(arg, &name, dns_rdatatype_a));
-}
-
-static inline isc_result_t
-digest_mf(ARGS_DIGEST) {
- isc_region_t r;
- dns_name_t name;
-
- REQUIRE(rdata->type == dns_rdatatype_mf);
-
- 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_mf(ARGS_CHECKOWNER) {
@@ -193,18 +164,6 @@ checkowner_mf(ARGS_CHECKOWNER) {
return (ISC_TRUE);
}
-static inline isc_boolean_t
-checknames_mf(ARGS_CHECKNAMES) {
-
- REQUIRE(rdata->type == dns_rdatatype_mf);
-
- UNUSED(rdata);
- UNUSED(owner);
- UNUSED(bad);
-
- return (ISC_TRUE);
-}
-
static inline int
casecompare_mf(ARGS_COMPARE) {
return (compare_mf(rdata1, rdata2));