summaryrefslogtreecommitdiff
path: root/usr.bin/dig/lib/dns/rdata/hs_4/a_1.c
diff options
context:
space:
mode:
authorJoerg Jung <jung@cvs.openbsd.org>2020-02-23 19:54:27 +0000
committerJoerg Jung <jung@cvs.openbsd.org>2020-02-23 19:54:27 +0000
commit6294b1dcc8c7653ebe12251b7bcac4a384c388d9 (patch)
tree720f1faebdb0ba672dc4178cbd10620844a99355 /usr.bin/dig/lib/dns/rdata/hs_4/a_1.c
parentec103febcdc2b88677ddccda0b04db6cfba414ba (diff)
rmeove more unused functions and code
ok florian
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/hs_4/a_1.c')
-rw-r--r--usr.bin/dig/lib/dns/rdata/hs_4/a_1.c39
1 files changed, 1 insertions, 38 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/hs_4/a_1.c b/usr.bin/dig/lib/dns/rdata/hs_4/a_1.c
index 2b9649eac91..c9c58abf6b6 100644
--- a/usr.bin/dig/lib/dns/rdata/hs_4/a_1.c
+++ b/usr.bin/dig/lib/dns/rdata/hs_4/a_1.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: a_1.c,v 1.2 2020/02/20 18:08:51 florian Exp $ */
+/* $Id: a_1.c,v 1.3 2020/02/23 19:54:26 jung Exp $ */
/* reviewed: Thu Mar 16 15:58:36 PST 2000 by brister */
@@ -148,30 +148,6 @@ freestruct_hs_a(ARGS_FREESTRUCT) {
REQUIRE(source != NULL);
}
-static inline isc_result_t
-additionaldata_hs_a(ARGS_ADDLDATA) {
- REQUIRE(rdata->type == dns_rdatatype_a);
- REQUIRE(rdata->rdclass == dns_rdataclass_hs);
-
- UNUSED(rdata);
- UNUSED(add);
- UNUSED(arg);
-
- return (ISC_R_SUCCESS);
-}
-
-static inline isc_result_t
-digest_hs_a(ARGS_DIGEST) {
- isc_region_t r;
-
- REQUIRE(rdata->type == dns_rdatatype_a);
- REQUIRE(rdata->rdclass == dns_rdataclass_hs);
-
- dns_rdata_toregion(rdata, &r);
-
- return ((digest)(arg, &r));
-}
-
static inline isc_boolean_t
checkowner_hs_a(ARGS_CHECKOWNER) {
@@ -186,19 +162,6 @@ checkowner_hs_a(ARGS_CHECKOWNER) {
return (ISC_TRUE);
}
-static inline isc_boolean_t
-checknames_hs_a(ARGS_CHECKNAMES) {
-
- REQUIRE(rdata->type == dns_rdatatype_a);
- REQUIRE(rdata->rdclass == dns_rdataclass_hs);
-
- UNUSED(rdata);
- UNUSED(owner);
- UNUSED(bad);
-
- return (ISC_TRUE);
-}
-
static inline int
casecompare_hs_a(ARGS_COMPARE) {
return (compare_hs_a(rdata1, rdata2));