diff --git a/lib/dns/include/dns/cache.h b/lib/dns/include/dns/cache.h index 55cf49cd76..b046b926b5 100644 --- a/lib/dns/include/dns/cache.h +++ b/lib/dns/include/dns/cache.h @@ -57,12 +57,6 @@ #include #include -/*** - *** Types - ***/ - -typedef struct dns_cache dns_cache_t; /* Opaque */ - ISC_LANG_BEGINDECLS /*** @@ -132,7 +126,7 @@ dns_cache_detach(dns_cache_t **cachep); */ void -dns_cache_getdb(dns_cache_t *cache, dns_db_t **dbp); +dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp); /* * Attach *dbp to the cache's database. *