From: Remi Gacogne Date: Mon, 24 Jan 2022 08:31:29 +0000 (+0100) Subject: Remove unused 'deque' include, and the declaration of segmentDNSName X-Git-Tag: auth-4.7.0-alpha1~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11303%2Fhead;p=thirdparty%2Fpdns.git Remove unused 'deque' include, and the declaration of segmentDNSName --- diff --git a/pdns/dnsname.hh b/pdns/dnsname.hh index 868eb963fd..6c49d0bd8d 100644 --- a/pdns/dnsname.hh +++ b/pdns/dnsname.hh @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/pdns/dnswriter.hh b/pdns/dnswriter.hh index 485b547833..cfa4eb9947 100644 --- a/pdns/dnswriter.hh +++ b/pdns/dnswriter.hh @@ -180,4 +180,3 @@ using DNSPacketWriter = GenericDNSPacketWriter>; typedef vector > labelparts_t; // bool labeltokUnescape(labelparts_t& parts, const DNSName& label); std::vector segmentDNSText(const string& text); // from dnslabeltext.rl -std::deque segmentDNSName(const string& input); // from dnslabeltext.rl diff --git a/pdns/misc.hh b/pdns/misc.hh index 92d8a2afc6..39fe09b416 100644 --- a/pdns/misc.hh +++ b/pdns/misc.hh @@ -42,7 +42,6 @@ using namespace ::boost::multi_index; #include #include #include -#include #include #include #include