From: bert hubert Date: Thu, 26 Nov 2015 22:22:25 +0000 (+0100) Subject: remove boost/foreach includes & autoconf bit X-Git-Tag: dnsdist-1.0.0-alpha1~176^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa8fd4d241a8b979cc48682b63868e2457b26b79;p=thirdparty%2Fpdns.git remove boost/foreach includes & autoconf bit --- diff --git a/configure.ac b/configure.ac index 74746484ed..48f05ea1a4 100644 --- a/configure.ac +++ b/configure.ac @@ -113,7 +113,6 @@ PDNS_CHECK_LIBSODIUM PDNS_CHECK_CLOCK_GETTIME BOOST_REQUIRE([1.35]) -BOOST_FOREACH BOOST_PROGRAM_OPTIONS([mt]) BOOST_SERIALIZATION([mt]) diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index 2912b7b5cc..a8b71d32e0 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -33,7 +33,7 @@ #include #include #include -#include + #include "pdns/dnsseckeeper.hh" #include "pdns/dnssecinfra.hh" #include "pdns/base32.hh" diff --git a/modules/geoipbackend/geoipbackend.hh b/modules/geoipbackend/geoipbackend.hh index f3fb44eba6..f3acc002c1 100644 --- a/modules/geoipbackend/geoipbackend.hh +++ b/modules/geoipbackend/geoipbackend.hh @@ -9,7 +9,7 @@ #include #include #include -#include + #include #include #include diff --git a/modules/gpgsqlbackend/spgsql.cc b/modules/gpgsqlbackend/spgsql.cc index 701a2c4f97..4b49475734 100644 --- a/modules/gpgsqlbackend/spgsql.cc +++ b/modules/gpgsqlbackend/spgsql.cc @@ -11,7 +11,7 @@ #include "pdns/dns.hh" #include "pdns/namespaces.hh" #include -#include + class SPgSQLStatement: public SSqlStatement { diff --git a/modules/remotebackend/httpconnector.cc b/modules/remotebackend/httpconnector.cc index d18f88f3bb..94cf246560 100644 --- a/modules/remotebackend/httpconnector.cc +++ b/modules/remotebackend/httpconnector.cc @@ -5,7 +5,7 @@ #include #include #include -#include + #include #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" diff --git a/modules/remotebackend/remotebackend.cc b/modules/remotebackend/remotebackend.cc index ae9bd6e7a5..00d5b16106 100644 --- a/modules/remotebackend/remotebackend.cc +++ b/modules/remotebackend/remotebackend.cc @@ -2,7 +2,7 @@ #include "config.h" #endif #include "remotebackend.hh" -#include + static const char *kBackendId = "[RemoteBackend]"; diff --git a/modules/remotebackend/test-remotebackend-http.cc b/modules/remotebackend/test-remotebackend-http.cc index b375035724..05f36cd9b9 100644 --- a/modules/remotebackend/test-remotebackend-http.cc +++ b/modules/remotebackend/test-remotebackend-http.cc @@ -38,7 +38,7 @@ DNSBackend *be; #include #include -#include + #include struct RemotebackendSetup { diff --git a/modules/remotebackend/test-remotebackend-json.cc b/modules/remotebackend/test-remotebackend-json.cc index 536f8e0138..a020b92427 100644 --- a/modules/remotebackend/test-remotebackend-json.cc +++ b/modules/remotebackend/test-remotebackend-json.cc @@ -38,7 +38,7 @@ DNSBackend *be; #include #include -#include + #include struct RemotebackendSetup { diff --git a/modules/remotebackend/test-remotebackend-pipe.cc b/modules/remotebackend/test-remotebackend-pipe.cc index 5a3b1d3a51..fd1527b192 100644 --- a/modules/remotebackend/test-remotebackend-pipe.cc +++ b/modules/remotebackend/test-remotebackend-pipe.cc @@ -7,7 +7,7 @@ #endif #include #include -#include + #include #include "pdns/namespaces.hh" #include "pdns/dns.hh" diff --git a/modules/remotebackend/test-remotebackend-post.cc b/modules/remotebackend/test-remotebackend-post.cc index 1580747d61..f525887dea 100644 --- a/modules/remotebackend/test-remotebackend-post.cc +++ b/modules/remotebackend/test-remotebackend-post.cc @@ -38,7 +38,7 @@ DNSBackend *be; #include #include -#include + #include struct RemotebackendSetup { diff --git a/modules/remotebackend/test-remotebackend-unix.cc b/modules/remotebackend/test-remotebackend-unix.cc index b95dfce944..dc8e3112d8 100644 --- a/modules/remotebackend/test-remotebackend-unix.cc +++ b/modules/remotebackend/test-remotebackend-unix.cc @@ -7,7 +7,7 @@ #endif #include #include -#include + #include #include "pdns/namespaces.hh" #include "pdns/dns.hh" diff --git a/modules/remotebackend/test-remotebackend-zeromq.cc b/modules/remotebackend/test-remotebackend-zeromq.cc index e7b2af4c5a..dd7de59cdd 100644 --- a/modules/remotebackend/test-remotebackend-zeromq.cc +++ b/modules/remotebackend/test-remotebackend-zeromq.cc @@ -6,7 +6,7 @@ #include "config.h" #endif #include -#include + #include #include "pdns/namespaces.hh" #include "pdns/dns.hh" diff --git a/modules/remotebackend/test-remotebackend.cc b/modules/remotebackend/test-remotebackend.cc index b1bc9b457c..4815d0f77a 100644 --- a/modules/remotebackend/test-remotebackend.cc +++ b/modules/remotebackend/test-remotebackend.cc @@ -6,7 +6,7 @@ #endif #include #include -#include + #include #include "pdns/namespaces.hh" #include "pdns/dns.hh" diff --git a/modules/remotebackend/zmqconnector.cc b/modules/remotebackend/zmqconnector.cc index cd06baee8b..c41520fb04 100644 --- a/modules/remotebackend/zmqconnector.cc +++ b/modules/remotebackend/zmqconnector.cc @@ -7,7 +7,7 @@ #include #include #include -#include + #include #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" diff --git a/modules/tinydnsbackend/tinydnsbackend.cc b/modules/tinydnsbackend/tinydnsbackend.cc index 3d74d97dc6..e18a536dce 100644 --- a/modules/tinydnsbackend/tinydnsbackend.cc +++ b/modules/tinydnsbackend/tinydnsbackend.cc @@ -9,7 +9,7 @@ #include "pdns/dnspacket.hh" #include "pdns/dnsrecords.hh" #include -#include + static string backendname="[TinyDNSBackend] "; uint32_t TinyDNSBackend::s_lastId; diff --git a/pdns/arguments.cc b/pdns/arguments.cc index de2a2fb597..8e9294b4e6 100644 --- a/pdns/arguments.cc +++ b/pdns/arguments.cc @@ -26,7 +26,7 @@ #include #include #include -#include + #include "namespaces.hh" #include "logger.hh" #include diff --git a/pdns/auth-carbon.cc b/pdns/auth-carbon.cc index dab3c713e6..1dbc033268 100644 --- a/pdns/auth-carbon.cc +++ b/pdns/auth-carbon.cc @@ -7,7 +7,7 @@ #include "sstuff.hh" #include "arguments.hh" #include "common_startup.hh" -#include + #include "namespaces.hh" void* carbonDumpThread(void*) diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index fa188d019b..910fae6a65 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -28,7 +28,7 @@ #include #include #include "dynhandler.hh" -#include + bool g_anyToTcp; typedef Distributor DNSDistributor; diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index 83d2d99f3f..393001541f 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -28,7 +28,7 @@ #include "ueberbackend.hh" #include "statbag.hh" #include -#include + #include #include #include diff --git a/pdns/dnsdist-carbon.cc b/pdns/dnsdist-carbon.cc index 3d21da7255..e88dbc71b8 100644 --- a/pdns/dnsdist-carbon.cc +++ b/pdns/dnsdist-carbon.cc @@ -4,7 +4,7 @@ #include "iputils.hh" #include "dolog.hh" #include "sstuff.hh" -#include + #include "namespaces.hh" #undef L #include "dnsdist.hh" diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index 8c693323e3..faffcc522f 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -33,7 +33,7 @@ #include #include #include -#include + #include "dnsseckeeper.hh" #include "dns.hh" #include "dnsbackend.hh" diff --git a/pdns/dnsproxy.cc b/pdns/dnsproxy.cc index 166d0f58b2..80710a3e4f 100644 --- a/pdns/dnsproxy.cc +++ b/pdns/dnsproxy.cc @@ -31,7 +31,7 @@ #include "dns.hh" #include "logger.hh" #include "statbag.hh" -#include + extern StatBag S; extern PacketCache PC; diff --git a/pdns/dnsrecords.cc b/pdns/dnsrecords.cc index d4758f643a..c234b65fbf 100644 --- a/pdns/dnsrecords.cc +++ b/pdns/dnsrecords.cc @@ -26,7 +26,7 @@ #include "utility.hh" #include "dnsrecords.hh" #include "iputils.hh" -#include + void DNSResourceRecord::setContent(const string &cont) { content = cont; diff --git a/pdns/dnsscope.cc b/pdns/dnsscope.cc index ff5cba0d03..3bc84e325a 100644 --- a/pdns/dnsscope.cc +++ b/pdns/dnsscope.cc @@ -14,7 +14,7 @@ #include #include "anadns.hh" #include -#include + #include #include "arguments.hh" #include "namespaces.hh" diff --git a/pdns/dnssecinfra.cc b/pdns/dnssecinfra.cc index 4c09cd89ce..917d0b1590 100644 --- a/pdns/dnssecinfra.cc +++ b/pdns/dnssecinfra.cc @@ -8,7 +8,7 @@ #include "dnsrecords.hh" #include "statbag.hh" #include "iputils.hh" -#include + #include #include "dnssecinfra.hh" #include "dnsseckeeper.hh" diff --git a/pdns/dnssecsigner.cc b/pdns/dnssecsigner.cc index 962824024d..9b2e1f096b 100644 --- a/pdns/dnssecsigner.cc +++ b/pdns/dnssecsigner.cc @@ -24,7 +24,7 @@ #endif #include "dnssecinfra.hh" #include "namespaces.hh" -#include + #include "md5.hh" #include "dnsseckeeper.hh" #include "dns_random.hh" diff --git a/pdns/dnstcpbench.cc b/pdns/dnstcpbench.cc index a2ce902458..5e2aee5df0 100644 --- a/pdns/dnstcpbench.cc +++ b/pdns/dnstcpbench.cc @@ -37,7 +37,7 @@ #include #include #include -#include + StatBag S; namespace po = boost::program_options; diff --git a/pdns/dnswriter.cc b/pdns/dnswriter.cc index f1b06965e1..dc03874bef 100644 --- a/pdns/dnswriter.cc +++ b/pdns/dnswriter.cc @@ -4,7 +4,7 @@ #include "dnswriter.hh" #include "misc.hh" #include "dnsparser.hh" -#include + #include DNSPacketWriter::DNSPacketWriter(vector& content, const DNSName& qname, uint16_t qtype, uint16_t qclass, uint8_t opcode) diff --git a/pdns/gss_context.cc b/pdns/gss_context.cc index e817c40fbe..2dc548823c 100644 --- a/pdns/gss_context.cc +++ b/pdns/gss_context.cc @@ -11,7 +11,7 @@ #include "logger.hh" #include "lock.hh" #include "arguments.hh" -#include + #include #include #include "gss_context.hh" diff --git a/pdns/inflighter.cc b/pdns/inflighter.cc index 9729c9c1d8..99a1e541aa 100644 --- a/pdns/inflighter.cc +++ b/pdns/inflighter.cc @@ -4,7 +4,7 @@ #include #include #include -#include + #include #include #include diff --git a/pdns/ixplore.cc b/pdns/ixplore.cc index dcdf104887..08eecf3fa7 100644 --- a/pdns/ixplore.cc +++ b/pdns/ixplore.cc @@ -14,7 +14,7 @@ #include "statbag.hh" #include "base32.hh" #include "dnssecinfra.hh" -#include + #include "dns_random.hh" #include "gss_context.hh" #include "zoneparser-tng.hh" diff --git a/pdns/json.cc b/pdns/json.cc index 431feb3503..2124f8d323 100644 --- a/pdns/json.cc +++ b/pdns/json.cc @@ -25,7 +25,7 @@ #include "json.hh" #include "namespaces.hh" #include "misc.hh" -#include + #include "rapidjson/document.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" diff --git a/pdns/lua-auth.cc b/pdns/lua-auth.cc index 2be0c3ac35..e3a557653d 100644 --- a/pdns/lua-auth.cc +++ b/pdns/lua-auth.cc @@ -46,7 +46,7 @@ extern "C" { #include #include #include -#include + #include "logger.hh" #include "namespaces.hh" diff --git a/pdns/lua-pdns.cc b/pdns/lua-pdns.cc index 85dc2e518c..22eaaacf2f 100644 --- a/pdns/lua-pdns.cc +++ b/pdns/lua-pdns.cc @@ -3,7 +3,7 @@ #endif #include "lua-pdns.hh" // #include "syncres.hh" -#include + #if !defined(HAVE_LUA) diff --git a/pdns/lua-recursor.cc b/pdns/lua-recursor.cc index b5c9bd972d..56c02ca216 100644 --- a/pdns/lua-recursor.cc +++ b/pdns/lua-recursor.cc @@ -60,7 +60,7 @@ extern "C" { #include #include #include -#include + #include "logger.hh" #include "dnsparser.hh" #include "namespaces.hh" diff --git a/pdns/mastercommunicator.cc b/pdns/mastercommunicator.cc index 7a8802d73d..638725c379 100644 --- a/pdns/mastercommunicator.cc +++ b/pdns/mastercommunicator.cc @@ -28,7 +28,7 @@ #include "communicator.hh" #include #include -#include + #include "dnsbackend.hh" #include "ueberbackend.hh" #include "packethandler.hh" diff --git a/pdns/mbedtlssigners.cc b/pdns/mbedtlssigners.cc index f034773ae3..7ad0a0dd41 100644 --- a/pdns/mbedtlssigners.cc +++ b/pdns/mbedtlssigners.cc @@ -14,7 +14,7 @@ #include "mbedtlscompat.hh" #endif #include // for 'operator+=()' -#include + #include "sha.hh" #include "dnssecinfra.hh" using namespace boost::assign; diff --git a/pdns/nameserver.hh b/pdns/nameserver.hh index d33628296f..dffd878f2d 100644 --- a/pdns/nameserver.hh +++ b/pdns/nameserver.hh @@ -31,7 +31,7 @@ #include #include #include -#include + #include "statbag.hh" #include "namespaces.hh" #include "dnspacket.hh" diff --git a/pdns/nsec3dig.cc b/pdns/nsec3dig.cc index 15e4632cad..51566099e3 100644 --- a/pdns/nsec3dig.cc +++ b/pdns/nsec3dig.cc @@ -9,7 +9,7 @@ #include "statbag.hh" #include "base32.hh" #include "dnssecinfra.hh" -#include + StatBag S; diff --git a/pdns/pdns_hw.cc b/pdns/pdns_hw.cc index b0f13cc5eb..acfa45c860 100644 --- a/pdns/pdns_hw.cc +++ b/pdns/pdns_hw.cc @@ -7,7 +7,7 @@ #include #include #include -#include + #include #include #include diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 275ab6bf08..4c4ee0c801 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -26,7 +26,7 @@ #include #include #include -#include + #include "ws-recursor.hh" #include #include "recpacketcache.hh" diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 54269906f5..e41e78baad 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -6,7 +6,7 @@ #include "statbag.hh" #include "base32.hh" #include "base64.hh" -#include + #include #include #include diff --git a/pdns/pkcs11signers.cc b/pdns/pkcs11signers.cc index e42f12520c..1ecaec880d 100644 --- a/pdns/pkcs11signers.cc +++ b/pdns/pkcs11signers.cc @@ -4,7 +4,7 @@ #include // for 'operator+=()' #include #include -#include + #include #include diff --git a/pdns/rec-carbon.cc b/pdns/rec-carbon.cc index bb92a37b68..fbc776dbe4 100644 --- a/pdns/rec-carbon.cc +++ b/pdns/rec-carbon.cc @@ -8,7 +8,7 @@ #include "logger.hh" #include "arguments.hh" #include "lock.hh" -#include + void doCarbonDump(void*) try diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index 8bdcdd436c..904341e640 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -17,7 +17,7 @@ #include #include #include -#include + #include "version.hh" #include #include diff --git a/pdns/recpacketcache.cc b/pdns/recpacketcache.cc index de1e06587e..470bb9591d 100644 --- a/pdns/recpacketcache.cc +++ b/pdns/recpacketcache.cc @@ -2,7 +2,7 @@ #include "config.h" #endif #include -#include + #include "recpacketcache.hh" #include "cachecleaner.hh" #include "dns.hh" diff --git a/pdns/reczones.cc b/pdns/reczones.cc index c09fdc3396..5c364c542e 100644 --- a/pdns/reczones.cc +++ b/pdns/reczones.cc @@ -28,7 +28,7 @@ #include "zoneparser-tng.hh" #include "logger.hh" #include "dnsrecords.hh" -#include + #include #include "ixfr.hh" #include "rpzloader.hh" diff --git a/pdns/resolver.cc b/pdns/resolver.cc index 691380b280..aa2c502d54 100644 --- a/pdns/resolver.cc +++ b/pdns/resolver.cc @@ -45,7 +45,7 @@ #include "dnswriter.hh" #include "dnsparser.hh" -#include + #include "dns_random.hh" #include #include "gss_context.hh" diff --git a/pdns/responsestats.cc b/pdns/responsestats.cc index c9634c583c..3fc4286ae4 100644 --- a/pdns/responsestats.cc +++ b/pdns/responsestats.cc @@ -5,7 +5,7 @@ #include #include "namespaces.hh" #include "logger.hh" -#include + #include "dnsparser.hh" ResponseStats::ResponseStats() diff --git a/pdns/rfc2136handler.cc b/pdns/rfc2136handler.cc index 87cbbe21d4..de7a40e14e 100644 --- a/pdns/rfc2136handler.cc +++ b/pdns/rfc2136handler.cc @@ -8,7 +8,7 @@ #include "dnsseckeeper.hh" #include "base64.hh" #include "base32.hh" -#include + #include "misc.hh" #include "arguments.hh" #include "resolver.hh" diff --git a/pdns/saxfr.cc b/pdns/saxfr.cc index 3f1a2422f2..d67a431c82 100644 --- a/pdns/saxfr.cc +++ b/pdns/saxfr.cc @@ -10,7 +10,7 @@ #include "statbag.hh" #include "base32.hh" #include "dnssecinfra.hh" -#include + #include "dns_random.hh" #include "gss_context.hh" diff --git a/pdns/secpoll-auth.cc b/pdns/secpoll-auth.cc index d7e548b466..5d4e3785cc 100644 --- a/pdns/secpoll-auth.cc +++ b/pdns/secpoll-auth.cc @@ -8,7 +8,7 @@ #include "version.hh" #include "dnsparser.hh" #include "misc.hh" -#include + #include "sstuff.hh" #include "dnswriter.hh" #include "dns_random.hh" diff --git a/pdns/serialtweaker.cc b/pdns/serialtweaker.cc index e699d39ad5..fbbecce26f 100644 --- a/pdns/serialtweaker.cc +++ b/pdns/serialtweaker.cc @@ -26,7 +26,7 @@ #include "dnsseckeeper.hh" #include "dnspacket.hh" #include "namespaces.hh" -#include + uint32_t localtime_format_YYYYMMDDSS(time_t t, uint32_t seq) { diff --git a/pdns/signingpipe.cc b/pdns/signingpipe.cc index 4fb12e27ce..2ffe5b3db2 100644 --- a/pdns/signingpipe.cc +++ b/pdns/signingpipe.cc @@ -4,7 +4,7 @@ #include "signingpipe.hh" #include "misc.hh" #include -#include + #include #include #include diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index 7f72064480..fb7bdf4310 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -39,7 +39,7 @@ #include "dns.hh" #include "arguments.hh" #include "packetcache.hh" -#include + #include #include "base64.hh" #include "inflighter.cc" diff --git a/pdns/statbag.cc b/pdns/statbag.cc index 88f9646529..9d58e126cd 100644 --- a/pdns/statbag.cc +++ b/pdns/statbag.cc @@ -32,7 +32,7 @@ #include "arguments.hh" #include "lock.hh" #include "iputils.hh" -#include + #include "namespaces.hh" diff --git a/pdns/syncres.cc b/pdns/syncres.cc index 7486083e45..31ab17f042 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -24,7 +24,7 @@ #include "config.h" #endif #include -#include + #include "lua-recursor.hh" #include "utility.hh" #include "syncres.hh" diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 47d78bff71..bc6aff1d0c 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -35,7 +35,7 @@ #include #include "tcpreceiver.hh" #include "sstuff.hh" -#include + #include #include #include "base64.hh" diff --git a/pdns/test-base32_cc.cc b/pdns/test-base32_cc.cc index 9f03ce5d67..8c538e5bd8 100644 --- a/pdns/test-base32_cc.cc +++ b/pdns/test-base32_cc.cc @@ -5,7 +5,7 @@ #endif #include #include -#include + #include #include "base32.hh" diff --git a/pdns/test-base64_cc.cc b/pdns/test-base64_cc.cc index 9e9d53f699..029e664663 100644 --- a/pdns/test-base64_cc.cc +++ b/pdns/test-base64_cc.cc @@ -5,7 +5,7 @@ #endif #include #include -#include + #include "base64.hh" using namespace boost; diff --git a/pdns/test-bindparser_cc.cc b/pdns/test-bindparser_cc.cc index 149ce0c917..3779e33f01 100644 --- a/pdns/test-bindparser_cc.cc +++ b/pdns/test-bindparser_cc.cc @@ -8,7 +8,7 @@ #include "misc.hh" #include "pdnsexception.hh" #include -#include + #include #include #include "dnsname.hh" diff --git a/pdns/test-dns_random_hh.cc b/pdns/test-dns_random_hh.cc index 137c465cfb..dfa77ef20f 100644 --- a/pdns/test-dns_random_hh.cc +++ b/pdns/test-dns_random_hh.cc @@ -9,7 +9,7 @@ #endif #include #include -#include + #include #include #include diff --git a/pdns/test-dnsrecords_cc.cc b/pdns/test-dnsrecords_cc.cc index adcc32c818..b134256591 100644 --- a/pdns/test-dnsrecords_cc.cc +++ b/pdns/test-dnsrecords_cc.cc @@ -5,7 +5,7 @@ #endif #include #include -#include + #include #include #include "dnsrecords.hh" diff --git a/pdns/test-md5_hh.cc b/pdns/test-md5_hh.cc index 267b56a491..5d9e908980 100644 --- a/pdns/test-md5_hh.cc +++ b/pdns/test-md5_hh.cc @@ -5,7 +5,7 @@ #endif #include #include -#include + #include "md5.hh" #include "misc.hh" diff --git a/pdns/test-misc_hh.cc b/pdns/test-misc_hh.cc index 4b220f8781..aeadaae039 100644 --- a/pdns/test-misc_hh.cc +++ b/pdns/test-misc_hh.cc @@ -6,7 +6,7 @@ #endif #include #include -#include + #include #include "misc.hh" #include "dns.hh" diff --git a/pdns/test-sha_hh.cc b/pdns/test-sha_hh.cc index c88e4229ef..b2a16d9dc0 100644 --- a/pdns/test-sha_hh.cc +++ b/pdns/test-sha_hh.cc @@ -5,7 +5,7 @@ #endif #include #include -#include + #include #include "sha.hh" diff --git a/pdns/test-statbag_cc.cc b/pdns/test-statbag_cc.cc index e4d69fc342..87ee6c7328 100644 --- a/pdns/test-statbag_cc.cc +++ b/pdns/test-statbag_cc.cc @@ -6,7 +6,7 @@ #endif #include #include -#include + #include #include #include "misc.hh" diff --git a/pdns/test-zoneparser_tng_cc.cc b/pdns/test-zoneparser_tng_cc.cc index e9955e615a..bc785186d0 100644 --- a/pdns/test-zoneparser_tng_cc.cc +++ b/pdns/test-zoneparser_tng_cc.cc @@ -5,7 +5,7 @@ #endif #include #include -#include + #include #include #include diff --git a/pdns/ueberbackend.cc b/pdns/ueberbackend.cc index 308d44d3d9..482fb743e2 100644 --- a/pdns/ueberbackend.cc +++ b/pdns/ueberbackend.cc @@ -37,7 +37,7 @@ #include #include #include -#include + #include "dns.hh" #include "arguments.hh" #include "dnsbackend.hh" diff --git a/pdns/ws-api.cc b/pdns/ws-api.cc index e708f4ab84..4e7a01ba17 100644 --- a/pdns/ws-api.cc +++ b/pdns/ws-api.cc @@ -21,7 +21,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include + #include #include #include "namespaces.hh" diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 8a2d268321..fecfd3484c 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -35,7 +35,7 @@ #include "comment.hh" #include "ueberbackend.hh" #include -#include + #include "namespaces.hh" #include "rapidjson/document.h" #include "rapidjson/stringbuffer.h" diff --git a/pdns/ws-recursor.cc b/pdns/ws-recursor.cc index 7a996677d8..497421aaff 100644 --- a/pdns/ws-recursor.cc +++ b/pdns/ws-recursor.cc @@ -24,7 +24,7 @@ #endif #include "ws-recursor.hh" #include "json.hh" -#include + #include #include "namespaces.hh" #include diff --git a/pdns/zone2json.cc b/pdns/zone2json.cc index 8b2e814994..30b5fc5e90 100644 --- a/pdns/zone2json.cc +++ b/pdns/zone2json.cc @@ -44,7 +44,7 @@ #include #include #include -#include + #include "json11.hpp" using namespace json11; diff --git a/pdns/zone2sql.cc b/pdns/zone2sql.cc index 0b26a75755..aef679de34 100644 --- a/pdns/zone2sql.cc +++ b/pdns/zone2sql.cc @@ -44,7 +44,7 @@ #include #include #include -#include + StatBag S;