summaryrefslogtreecommitdiff
path: root/examples/ldns-keyfetcher.c
diff options
context:
space:
mode:
authorWillem Toorop <willem@nlnetlabs.nl>2016-10-17 21:46:47 +0200
committerWillem Toorop <willem@nlnetlabs.nl>2016-10-17 21:46:47 +0200
commitc4be9992a306af40b16bcc72c853ae1223bcd148 (patch)
treea1d9d52955ff6ae432176e7aaf39ace9b840443f /examples/ldns-keyfetcher.c
parent45cb42fe4dbb768d4f1d64f671c866b68119e114 (diff)
downloadldns-c4be9992a306af40b16bcc72c853ae1223bcd148.tar.gz
bugfix #796-792: Fix compiler warning issues.
Diffstat (limited to 'examples/ldns-keyfetcher.c')
-rw-r--r--examples/ldns-keyfetcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ldns-keyfetcher.c b/examples/ldns-keyfetcher.c
index 17e195b2..10a47ddc 100644
--- a/examples/ldns-keyfetcher.c
+++ b/examples/ldns-keyfetcher.c
@@ -507,7 +507,7 @@ retrieve_dnskeys(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t,
* for the root zone and A records for those NS RRs.
* Read them, check them, and append the a records to the rr list given.
*/
-ldns_rr_list *
+static ldns_rr_list *
read_root_hints(const char *filename)
{
FILE *fp = NULL;