From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/dns_tlsa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dns_tlsa.c') 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]; -- cgit v1.2.3