Skip to content

Commit d980f9b

Browse files
committed
Merge pull request #3257
379778b core: remove includes in .cpp, if header is already in .h (Philip Kaufmann)
2 parents 96aaf00 + 379778b commit d980f9b

File tree

11 files changed

+0
-20
lines changed

11 files changed

+0
-20
lines changed

src/bitcoinrpc.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include "util.h"
1212
#include "wallet.h"
1313

14-
#include <stdint.h>
15-
1614
#include <boost/algorithm/string.hpp>
1715
#include <boost/asio.hpp>
1816
#include <boost/asio/ssl.hpp>

src/core.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
#include "util.h"
99

10-
#include <stdint.h>
11-
1210
std::string COutPoint::ToString() const
1311
{
1412
return strprintf("COutPoint(%s, %u)", hash.ToString().substr(0,10).c_str(), n);

src/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#include <inttypes.h>
2121
#include <sstream>
22-
#include <stdint.h>
2322

2423
#include <boost/algorithm/string/replace.hpp>
2524
#include <boost/filesystem.hpp>

src/miner.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include "net.h"
1111
#include "wallet.h"
1212

13-
#include <stdint.h>
14-
1513
double dHashesPerSec = 0.0;
1614
int64_t nHPSTimerStart = 0;
1715

src/net.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
#include "db.h"
1616
#include "ui_interface.h"
1717

18-
#include <inttypes.h>
19-
#include <stdint.h>
20-
2118
#ifdef WIN32
2219
#include <string.h>
2320
#else

src/netbase.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include "uint256.h"
1111
#include "util.h"
1212

13-
#include <stdint.h>
14-
1513
#ifndef WIN32
1614
#include <fcntl.h>
1715
#endif

src/protocol.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
#include "util.h"
99

10-
#include <stdint.h>
11-
1210
#ifndef WIN32
1311
# include <arpa/inet.h>
1412
#endif

src/script.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#include "uint256.h"
1515
#include "util.h"
1616

17-
#include <stdint.h>
18-
1917
#include <boost/foreach.hpp>
2018
#include <boost/tuple/tuple.hpp>
2119
#include <boost/tuple/tuple_comparison.hpp>

src/util.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
#include "uint256.h"
1313
#include "version.h"
1414

15-
#include <inttypes.h>
1615
#include <stdarg.h>
17-
#include <stdint.h>
1816

1917
#ifndef WIN32
2018
// for posix_fallocate

src/wallet.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "net.h"
1111

1212
#include <inttypes.h>
13-
#include <stdint.h>
1413

1514
#include <boost/algorithm/string/replace.hpp>
1615
#include <openssl/rand.h>

0 commit comments

Comments
 (0)