diff options
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/l32_105.c')
-rw-r--r-- | usr.bin/dig/lib/dns/rdata/generic/l32_105.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/l32_105.c b/usr.bin/dig/lib/dns/rdata/generic/l32_105.c index b453ffdc2ff..9f69b3964b8 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/l32_105.c +++ b/usr.bin/dig/lib/dns/rdata/generic/l32_105.c @@ -75,23 +75,6 @@ towire_l32(ARGS_TOWIRE) { } -static inline isc_result_t -fromstruct_l32(ARGS_FROMSTRUCT) { - dns_rdata_l32_t *l32 = source; - uint32_t n; - - REQUIRE(type == dns_rdatatype_l32); - REQUIRE(source != NULL); - REQUIRE(l32->common.rdtype == type); - REQUIRE(l32->common.rdclass == rdclass); - - UNUSED(type); - UNUSED(rdclass); - - RETERR(uint16_tobuffer(l32->pref, target)); - n = ntohl(l32->l32.s_addr); - return (uint32_tobuffer(n, target)); -} static inline isc_result_t tostruct_l32(ARGS_TOSTRUCT) { |