From 2b80ef0d5946edaf71c99ff9f3f42d970bf7e293 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 --- 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 b09faa6168..e9b4d9dbfa 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