summaryrefslogtreecommitdiff
path: root/examples/ldns-keyfetcher.c
diff options
context:
space:
mode:
authorJelte Jansen <jelte@NLnetLabs.nl>2009-07-02 14:51:40 +0200
committerJelte Jansen <jelte@NLnetLabs.nl>2009-07-02 14:51:40 +0200
commit8613ba15e429bf9fd5f3530397e0aae6e38c4733 (patch)
tree5b520685fa5f085bcc93889a133479a96c07216e /examples/ldns-keyfetcher.c
parent1f884af476f5f6d137554c9f066946735e7b96fa (diff)
downloadldns-8613ba15e429bf9fd5f3530397e0aae6e38c4733.tar.gz
review matthijs, except for dead code and todos
Diffstat (limited to 'examples/ldns-keyfetcher.c')
-rw-r--r--examples/ldns-keyfetcher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ldns-keyfetcher.c b/examples/ldns-keyfetcher.c
index 0e1438d3..80a9aa54 100644
--- a/examples/ldns-keyfetcher.c
+++ b/examples/ldns-keyfetcher.c
@@ -16,7 +16,7 @@ int verbosity = 0;
uint8_t address_family = 0;
bool store_in_file = false;
-void
+static void
usage(FILE *fp, char *prog) {
fprintf(fp, "%s domain\n", prog);
fprintf(fp, " retrieve the dnskeys for a domain\n");
@@ -30,7 +30,7 @@ usage(FILE *fp, char *prog) {
fprintf(fp, "-v <int>\tVerbosity level (0-5, not verbose-very verbose)\n");
}
-ldns_rr_list *
+static ldns_rr_list *
retrieve_dnskeys(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t,
ldns_rr_class c, ldns_rr_list *dns_root)
{