summaryrefslogtreecommitdiff
path: root/src/dns_tlsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns_tlsa.c')
-rw-r--r--src/dns_tlsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns_tlsa.c b/src/dns_tlsa.c
index 612c6b3..66226a0 100644
--- a/src/dns_tlsa.c
+++ b/src/dns_tlsa.c
@@ -1,4 +1,5 @@
#include "byte.h"
+#include "dnsresolv.h"
#include "logmsg.h"
#include "stralloc.h"
#include "uint_t.h"
@@ -7,7 +8,7 @@
static char *q = 0;
-int dns_tlsa_packet(stralloc *out, const char *buf, unsigned int len)
+static int dns_tlsa_packet(stralloc *out, const char *buf, unsigned int len)
{
unsigned int pos;
char header[12];