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
This commit is contained in:
Philip Kaufmann 2013-11-15 12:20:16 +01:00
parent 4fc241235c
commit 379778bde6
11 changed files with 0 additions and 20 deletions

View File

@ -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>

View File

@ -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);

View File

@ -19,7 +19,6 @@
#include <inttypes.h>
#include <sstream>
#include <stdint.h>
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>

View File

@ -10,8 +10,6 @@
#include "net.h"
#include "wallet.h"
#include <stdint.h>
double dHashesPerSec = 0.0;
int64_t nHPSTimerStart = 0;

View File

@ -15,9 +15,6 @@
#include "db.h"
#include "ui_interface.h"
#include <inttypes.h>
#include <stdint.h>
#ifdef WIN32
#include <string.h>
#else

View File

@ -10,8 +10,6 @@
#include "uint256.h"
#include "util.h"
#include <stdint.h>
#ifndef WIN32
#include <fcntl.h>
#endif

View File

@ -7,8 +7,6 @@
#include "util.h"
#include <stdint.h>
#ifndef WIN32
# include <arpa/inet.h>
#endif

View File

@ -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>

View File

@ -12,9 +12,7 @@
#include "uint256.h"
#include "version.h"
#include <inttypes.h>
#include <stdarg.h>
#include <stdint.h>
#ifndef WIN32
// for posix_fallocate

View File

@ -9,7 +9,6 @@
#include "net.h"
#include <inttypes.h>
#include <stdint.h>
#include <boost/algorithm/string/replace.hpp>
#include <openssl/rand.h>

View File

@ -12,7 +12,6 @@
#include "wallet.h"
#include <inttypes.h>
#include <stdint.h>
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>