summaryrefslogtreecommitdiffstats
path: root/contrib/ldns
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-04-09 13:16:11 +0000
committerdes <des@FreeBSD.org>2013-04-09 13:16:11 +0000
commit0da55a1ff7d21f5cb8d1dbcd1e93be05b07e6418 (patch)
tree434b2cc35b634cf9f9180a0451c0577f111befcd /contrib/ldns
parent582e4690756c08417aaef6ac08656325e85c7e33 (diff)
downloadFreeBSD-src-0da55a1ff7d21f5cb8d1dbcd1e93be05b07e6418.zip
FreeBSD-src-0da55a1ff7d21f5cb8d1dbcd1e93be05b07e6418.tar.gz
Last remaining prototype issue that still hasn't been fixed upstream.
Diffstat (limited to 'contrib/ldns')
-rw-r--r--contrib/ldns/dnssec_sign.c3
-rw-r--r--contrib/ldns/ldns/dname.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/contrib/ldns/dnssec_sign.c b/contrib/ldns/dnssec_sign.c
index 2e5a7a9..abce485 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 16b4542..291786b 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
OpenPOWER on IntegriCloud