diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2020-02-26 18:47:27 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2020-02-26 18:47:27 +0000 |
commit | ee157feec41661387911a54eda7011ce9d9b89d8 (patch) | |
tree | 283ade56b6ed62a8a115b00224751666d5cdbc6c /usr.bin/dig/lib/dns/rdata/generic/cds_59.c | |
parent | 879c80dca3e3c439e96c9a7d40380c676556b779 (diff) |
In preparation of compiling lib/dns/rdata/ files individually we need
global visibility of mem_tobuffer.
Rename it to isc_mem_tobuffer, put it into buffer.c and delete
duplicate implementations.
Diffstat (limited to 'usr.bin/dig/lib/dns/rdata/generic/cds_59.c')
-rw-r--r-- | usr.bin/dig/lib/dns/rdata/generic/cds_59.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/dig/lib/dns/rdata/generic/cds_59.c b/usr.bin/dig/lib/dns/rdata/generic/cds_59.c index a01a7c3b2de..06c1bade0cf 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/cds_59.c +++ b/usr.bin/dig/lib/dns/rdata/generic/cds_59.c @@ -51,7 +51,7 @@ towire_cds(ARGS_TOWIRE) { UNUSED(cctx); dns_rdata_toregion(rdata, &sr); - return (mem_tobuffer(target, sr.base, sr.length)); + return (isc_mem_tobuffer(target, sr.base, sr.length)); } #endif /* RDATA_GENERIC_CDS_59_C */ |