diff options
| author | Philip Kaufmann <[email protected]> | 2013-11-15 12:20:16 +0100 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-11-15 12:20:16 +0100 |
| commit | 379778bde61f8589988cf113ec4c3961b8155b0a (patch) | |
| tree | 624271d831bf2b74030bb33ab91f1bbffa4a057a /src | |
| parent | Merge pull request #3252 from laanwj/2013_11_transifex_pull (diff) | |
| download | discoin-379778bde61f8589988cf113ec4c3961b8155b0a.tar.xz discoin-379778bde61f8589988cf113ec4c3961b8155b0a.zip | |
core: remove includes in .cpp, if header is already in .h
- example: if util.h includes stdint.h, remove it from util.cpp, as
util.h is the first header included in util.cpp
Diffstat (limited to 'src')
| -rw-r--r-- | src/bitcoinrpc.cpp | 2 | ||||
| -rw-r--r-- | src/core.cpp | 2 | ||||
| -rw-r--r-- | src/main.cpp | 1 | ||||
| -rw-r--r-- | src/miner.cpp | 2 | ||||
| -rw-r--r-- | src/net.cpp | 3 | ||||
| -rw-r--r-- | src/netbase.cpp | 2 | ||||
| -rw-r--r-- | src/protocol.cpp | 2 | ||||
| -rw-r--r-- | src/script.cpp | 2 | ||||
| -rw-r--r-- | src/util.cpp | 2 | ||||
| -rw-r--r-- | src/wallet.cpp | 1 | ||||
| -rw-r--r-- | src/walletdb.cpp | 1 |
11 files changed, 0 insertions, 20 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index c715f13fd..9d45779b2 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -11,8 +11,6 @@ #include "util.h" #include "wallet.h" -#include <stdint.h> - #include <boost/algorithm/string.hpp> #include <boost/asio.hpp> #include <boost/asio/ssl.hpp> diff --git a/src/core.cpp b/src/core.cpp index 80cdcb084..7a1c90e58 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -7,8 +7,6 @@ #include "util.h" -#include <stdint.h> - std::string COutPoint::ToString() const { return strprintf("COutPoint(%s, %u)", hash.ToString().substr(0,10).c_str(), n); diff --git a/src/main.cpp b/src/main.cpp index 72245137e..5088de69a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,7 +19,6 @@ #include <inttypes.h> #include <sstream> -#include <stdint.h> #include <boost/algorithm/string/replace.hpp> #include <boost/filesystem.hpp> diff --git a/src/miner.cpp b/src/miner.cpp index 397c95c62..97f434851 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -10,8 +10,6 @@ #include "net.h" #include "wallet.h" -#include <stdint.h> - double dHashesPerSec = 0.0; int64_t nHPSTimerStart = 0; diff --git a/src/net.cpp b/src/net.cpp index 954fe5947..637f98d78 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -15,9 +15,6 @@ #include "db.h" #include "ui_interface.h" -#include <inttypes.h> -#include <stdint.h> - #ifdef WIN32 #include <string.h> #else diff --git a/src/netbase.cpp b/src/netbase.cpp index 1392fa823..37e1df913 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -10,8 +10,6 @@ #include "uint256.h" #include "util.h" -#include <stdint.h> - #ifndef WIN32 #include <fcntl.h> #endif diff --git a/src/protocol.cpp b/src/protocol.cpp index 798227581..be835507a 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -7,8 +7,6 @@ #include "util.h" -#include <stdint.h> - #ifndef WIN32 # include <arpa/inet.h> #endif diff --git a/src/script.cpp b/src/script.cpp index dbf391b2a..fe29a8861 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -14,8 +14,6 @@ #include "uint256.h" #include "util.h" -#include <stdint.h> - #include <boost/foreach.hpp> #include <boost/tuple/tuple.hpp> #include <boost/tuple/tuple_comparison.hpp> diff --git a/src/util.cpp b/src/util.cpp index 44186b732..65940758a 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -12,9 +12,7 @@ #include "uint256.h" #include "version.h" -#include <inttypes.h> #include <stdarg.h> -#include <stdint.h> #ifndef WIN32 // for posix_fallocate diff --git a/src/wallet.cpp b/src/wallet.cpp index 6e49ef7b8..bd147a454 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -9,7 +9,6 @@ #include "net.h" #include <inttypes.h> -#include <stdint.h> #include <boost/algorithm/string/replace.hpp> #include <openssl/rand.h> diff --git a/src/walletdb.cpp b/src/walletdb.cpp index 8317862f7..061b2af1b 100644 --- a/src/walletdb.cpp +++ b/src/walletdb.cpp @@ -12,7 +12,6 @@ #include "wallet.h" #include <inttypes.h> -#include <stdint.h> #include <boost/filesystem.hpp> #include <boost/foreach.hpp> |