From 284737f4f8f999bab7ca912558618ac341e42053 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Thu, 8 Sep 2022 22:50:31 +0200 Subject: [PATCH] auth: fix gcc warning (cherry picked from commit 2b80ef0d5946edaf71c99ff9f3f42d970bf7e293) --- pdns/auth-main.cc | 2 -- pdns/auth-main.hh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index 427a997fbd..aacb203720 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -130,8 +130,6 @@ vector> g_udpReceivers; NetmaskGroup g_proxyProtocolACL; size_t g_proxyProtocolMaximumSize; -void mainthread(); - ArgvMap& arg() { return theArg; diff --git a/pdns/auth-main.hh b/pdns/auth-main.hh index 83fb0c8f4a..7993831973 100644 --- a/pdns/auth-main.hh +++ b/pdns/auth-main.hh @@ -48,7 +48,7 @@ extern double avg_latency; extern std::unique_ptr TN; extern void declareArguments(); extern void declareStats(); -extern void mainthread(); +void mainthread(); extern int isGuarded(char**); void carbonDumpThread(); extern bool g_anyToTcp; -- 2.47.2