diff --git a/contrib/ldns/dnssec_sign.c b/contrib/ldns/dnssec_sign.c index 2e5a7a92e15c..abce4852d3f4 100644 --- a/contrib/ldns/dnssec_sign.c +++ b/contrib/ldns/dnssec_sign.c @@ -771,9 +771,6 @@ ldns_dnssec_zone_create_nsecs(ldns_dnssec_zone *zone, } #ifdef HAVE_SSL -/* in dnssec_zone.c */ -extern int ldns_dname_compare_v(const void *a, const void *b); - static ldns_status ldns_dnssec_zone_create_nsec3s_mkmap(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, diff --git a/contrib/ldns/ldns/dname.h b/contrib/ldns/ldns/dname.h index 16b45429fb21..291786ba88fb 100644 --- a/contrib/ldns/ldns/dname.h +++ b/contrib/ldns/ldns/dname.h @@ -150,6 +150,7 @@ bool ldns_dname_is_subdomain(const ldns_rdf *sub, const ldns_rdf *parent); * \return -1 if dname1 comes before dname2, 1 if dname1 comes after dname2, and 0 if they are equal. */ int ldns_dname_compare(const ldns_rdf *dname1, const ldns_rdf *dname2); +int ldns_dname_compare_v(const void *, const void *); /** * Checks whether the dname matches the given wildcard