From: Chris Hofstaedtler Date: Mon, 19 Oct 2020 13:52:41 +0000 (+0200) Subject: Including namespaces.hh once is enough X-Git-Tag: auth-4.4.0-alpha2~24^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=870a3e86c036edcc4958feb1fb28e10ecc2a6b3c;p=thirdparty%2Fpdns.git Including namespaces.hh once is enough --- diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index 78c8f0c6aa..a42768c584 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -53,7 +53,6 @@ #include "pdns/misc.hh" #include "pdns/dynlistener.hh" #include "pdns/lock.hh" -#include "pdns/namespaces.hh" /* All instances of this backend share one s_state, which is indexed by zone name and zone id. diff --git a/pdns/dynloader.cc b/pdns/dynloader.cc index 212a416133..3925efcd70 100644 --- a/pdns/dynloader.cc +++ b/pdns/dynloader.cc @@ -43,7 +43,6 @@ #include "statbag.hh" #include "misc.hh" #include "namespaces.hh" -#include "namespaces.hh" ArgvMap &arg() { diff --git a/pdns/notify.cc b/pdns/notify.cc index 69fb936813..e3fd5d3378 100644 --- a/pdns/notify.cc +++ b/pdns/notify.cc @@ -40,7 +40,6 @@ #include "version.hh" #include "namespaces.hh" using namespace ::boost::multi_index; -#include "namespaces.hh" namespace po = boost::program_options; po::variables_map g_vm; diff --git a/pdns/nproxy.cc b/pdns/nproxy.cc index 44d2f31d9f..167b15a405 100644 --- a/pdns/nproxy.cc +++ b/pdns/nproxy.cc @@ -44,7 +44,6 @@ #include "namespaces.hh" using namespace ::boost::multi_index; -#include "namespaces.hh" namespace po = boost::program_options; po::variables_map g_vm; diff --git a/pdns/sstuff.hh b/pdns/sstuff.hh index 7f61a4f8b1..2869d141be 100644 --- a/pdns/sstuff.hh +++ b/pdns/sstuff.hh @@ -37,7 +37,6 @@ #include #include #include "namespaces.hh" -#include "namespaces.hh" typedef int ProtocolType; //!< Supported protocol types