Skip to content

Commit d5d2856

Browse files
author
Razvan Becheriu
committed
[#3208] reordered includes
1 parent eea21ad commit d5d2856

8 files changed

+24
-41
lines changed

src/lib/dns/message.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ class SectionIterator {
9494
using pointer = T*;
9595
using reference = T&;
9696

97-
SectionIterator() : impl_(0) {}
97+
SectionIterator() : impl_(0) {
98+
}
9899
SectionIterator(const SectionIteratorImpl<T>& impl);
99100
~SectionIterator();
100101
SectionIterator(const SectionIterator<T>& source);

src/lib/dns/messagerenderer.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,3 @@ class MessageRenderer : public AbstractMessageRenderer,
390390
}
391391
}
392392
#endif // MESSAGERENDERER_H
393-
394-
// Local Variables:
395-
// mode: c++
396-
// End:

src/lib/dns/name_internal.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,3 @@ extern const uint8_t maptolower[];
2929
} // end of dns
3030
} // end of isc
3131
#endif // NAME_INTERNAL_H
32-
33-
// Local Variables:
34-
// mode: c++
35-
// End:

src/lib/dns/rdataclass.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,7 @@ A::A(const std::string&) {
578578
}
579579

580580
A::A(MasterLexer&, const Name*,
581-
MasterLoader::Options, MasterLoaderCallbacks&)
582-
{
581+
MasterLoader::Options, MasterLoaderCallbacks&) {
583582
// TBD
584583
}
585584

@@ -609,7 +608,8 @@ A::toText() const {
609608

610609
int
611610
A::compare(const Rdata&) const {
612-
return (0); // dummy. TBD
611+
// TBD
612+
return (0);
613613
}
614614

615615
} // end of namespace "ch"

src/lib/dns/tests/rdata_in_a_unittest.cc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,20 @@
77
#include <config.h>
88

99
#include <dns/rdataclass.h>
10-
11-
#include <util/buffer.h>
1210
#include <dns/exceptions.h>
1311
#include <dns/messagerenderer.h>
1412
#include <dns/master_lexer.h>
1513
#include <dns/master_loader.h>
1614
#include <dns/rdata.h>
1715
#include <dns/rrclass.h>
1816
#include <dns/rrtype.h>
19-
20-
#include <gtest/gtest.h>
21-
2217
#include <dns/tests/unittest_util.h>
2318
#include <dns/tests/rdata_unittest.h>
19+
#include <util/buffer.h>
2420
#include <util/unittests/wiredata.h>
2521

22+
#include <gtest/gtest.h>
23+
2624
#include <sstream>
2725

2826
#include <arpa/inet.h>

src/lib/dns/tests/rdata_in_aaaa_unittest.cc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,19 @@
66

77
#include <config.h>
88

9-
#include <util/buffer.h>
109
#include <dns/exceptions.h>
1110
#include <dns/messagerenderer.h>
1211
#include <dns/rdata.h>
1312
#include <dns/rdataclass.h>
1413
#include <dns/rrclass.h>
1514
#include <dns/rrtype.h>
16-
17-
#include <gtest/gtest.h>
18-
1915
#include <dns/tests/unittest_util.h>
2016
#include <dns/tests/rdata_unittest.h>
17+
#include <util/buffer.h>
2118
#include <util/unittests/wiredata.h>
2219

20+
#include <gtest/gtest.h>
21+
2322
using namespace std;
2423
using namespace isc::dns;
2524
using namespace isc::util;

src/lib/dns/tests/tsig_unittest.cc

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,7 @@
66

77
#include <config.h>
88

9-
#include <time.h>
10-
#include <string>
11-
#include <stdexcept>
12-
#include <vector>
13-
14-
#include <boost/scoped_ptr.hpp>
15-
16-
#include <gtest/gtest.h>
17-
189
#include <exceptions/exceptions.h>
19-
20-
#include <util/buffer.h>
21-
#include <util/encode/encode.h>
22-
#include <util/unittests/newhook.h>
23-
#include <util/time_utilities.h>
24-
2510
#include <dns/message.h>
2611
#include <dns/messagerenderer.h>
2712
#include <dns/question.h>
@@ -32,10 +17,22 @@
3217
#include <dns/tsig.h>
3318
#include <dns/tsigkey.h>
3419
#include <dns/tsigrecord.h>
35-
3620
#include <dns/tests/unittest_util.h>
21+
#include <util/buffer.h>
22+
#include <util/encode/encode.h>
23+
#include <util/unittests/newhook.h>
24+
#include <util/time_utilities.h>
3725
#include <util/unittests/wiredata.h>
3826

27+
#include <time.h>
28+
#include <string>
29+
#include <stdexcept>
30+
#include <vector>
31+
32+
#include <boost/scoped_ptr.hpp>
33+
34+
#include <gtest/gtest.h>
35+
3936
using namespace std;
4037
using namespace isc;
4138
using namespace isc::dns;

src/lib/dns/txt_like.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,3 @@ template<class Type, uint16_t typeCode>class TXTLikeImpl {
231231
} // namespace isc
232232

233233
#endif // TXT_LIKE_H
234-
235-
// Local Variables:
236-
// mode: c++
237-
// End:

0 commit comments

Comments
 (0)