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>