From 9edbd73fc06c2f784619402e26cd9a67bc7cf114 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Mon, 12 Sep 2022 09:22:21 +0200 Subject: [PATCH] =?utf8?q?auth:=20fix=20gcc=20warning,=20no=20prevous=20de?= =?utf8?q?claration=20for=20=E2=80=98void=20carbonDumpThread()=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- pdns/auth-main.cc | 3 --- pdns/auth-main.hh | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index c07f45deeb..f974da3002 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -130,9 +130,6 @@ static vector> s_udpReceivers; NetmaskGroup g_proxyProtocolACL; size_t g_proxyProtocolMaximumSize; -// Implemented in auth-carbon.cc. Avoids having an auth-carbon.hh declaring exactly one function. -void carbonDumpThread(); - ArgvMap& arg() { return theArg; diff --git a/pdns/auth-main.hh b/pdns/auth-main.hh index bfc53cf9ef..764a643a72 100644 --- a/pdns/auth-main.hh +++ b/pdns/auth-main.hh @@ -42,6 +42,7 @@ extern AuthPacketCache PC; //!< This is the main PacketCache, shared across all extern AuthQueryCache QC; extern std::unique_ptr DP; extern CommunicatorClass Communicator; +void carbonDumpThread(); // Implemented in auth-carbon.cc. Avoids having an auth-carbon.hh declaring exactly one function. extern bool g_anyToTcp; extern bool g_8bitDNS; extern NetmaskGroup g_proxyProtocolACL; -- 2.47.2