summaryrefslogtreecommitdiff
path: root/examples/ldnsd.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
commitc6342fe2e90510d8d2296423f2ca92818a7b3d18 (patch)
tree0cc9064980c804a7bf5cc6d96c9249950c7e56a9 /examples/ldnsd.c
parent65be028f32ed37dce84f6328d4a7172132c8c224 (diff)
Notes
Diffstat (limited to 'examples/ldnsd.c')
-rw-r--r--examples/ldnsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ldnsd.c b/examples/ldnsd.c
index 77c5dd5c628d..c742f04d9445 100644
--- a/examples/ldnsd.c
+++ b/examples/ldnsd.c
@@ -30,7 +30,7 @@
#define INBUF_SIZE 4096
-void usage(FILE *output)
+static void usage(FILE *output)
{
fprintf(output, "Usage: ldnsd <address> <port> <zone> <zonefile>\n");
fprintf(output, "Listens on the specified port and answers queries for the given zone\n");
@@ -63,7 +63,7 @@ static int udp_bind(int sock, int port, const char *my_address)
}
/* this will probably be moved to a better place in the library itself */
-ldns_rr_list *
+static ldns_rr_list *
get_rrset(const ldns_zone *zone, const ldns_rdf *owner_name, const ldns_rr_type qtype, const ldns_rr_class qclass)
{
uint16_t i;