dns/dnsjit: Fix build issues on 13-STABLE and newer versions

PR:		261274
Approved by:	Leo Vandewoestijne <freebsd@dns.company> (maintainer timeout, 7+ weeks)
This commit is contained in:
Jaap Akkerhuis 2022-03-13 08:38:29 +01:00 committed by Daniel Engberg
parent 229ab97a2e
commit b1fffcc632

View File

@ -0,0 +1,20 @@
--- src/output/dnscli.c.orig 2022-01-04 14:44:42 UTC
+++ src/output/dnscli.c
@@ -331,7 +331,7 @@ static void _receive_udp(output_dnscli_t* self, const
self->errs++;
}
-inline ssize_t _send_tcp(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
+ssize_t _send_tcp(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
{
ssize_t n;
@@ -432,7 +432,7 @@ static void _receive_tcp(output_dnscli_t* self, const
self->errs++;
}
-inline ssize_t _send_tls(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
+ssize_t _send_tls(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
{
ssize_t n;