]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: fix gcc warning 11919/head
authorKees Monshouwer <mind04@monshouwer.org>
Thu, 8 Sep 2022 20:50:31 +0000 (22:50 +0200)
committermind04 <mind04@monshouwer.org>
Thu, 8 Sep 2022 20:56:56 +0000 (22:56 +0200)
pdns/auth-main.cc
pdns/auth-main.hh

index b09faa61689fd83e0cc6ddd7776a9ab84814013d..e9b4d9dbfa7932888c41715c3944c057c61a4819 100644 (file)
@@ -130,8 +130,6 @@ vector<std::shared_ptr<UDPNameserver>> g_udpReceivers;
 NetmaskGroup g_proxyProtocolACL;
 size_t g_proxyProtocolMaximumSize;
 
-void mainthread();
-
 ArgvMap& arg()
 {
   return theArg;
index 83fb0c8f4af2d48b26f716bfad5e93427c691397..799383197388b4e4e7f7f4726b51364e4b5b2fc3 100644 (file)
@@ -48,7 +48,7 @@ extern double avg_latency;
 extern std::unique_ptr<TCPNameserver> TN;
 extern void declareArguments();
 extern void declareStats();
-extern void mainthread();
+void mainthread();
 extern int isGuarded(char**);
 void carbonDumpThread();
 extern bool g_anyToTcp;