diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-22 10:29:04 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-22 10:29:29 +0200 |
commit | 40880d7cb8ea9b86d18ca97960291d3965f23f51 (patch) | |
tree | edb5e30c9e7563ecdb447aa6edc36e945804b209 /src/daemon | |
parent | Merge pull request #551 (diff) | |
parent | Strip redundant includes (diff) | |
download | monero-40880d7cb8ea9b86d18ca97960291d3965f23f51.tar.xz |
Merge pull request #552
9428d53 Strip redundant includes (hyc)
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/command_line_args.h | 1 | ||||
-rw-r--r-- | src/daemon/core.h | 2 | ||||
-rw-r--r-- | src/daemon/daemon.cpp | 6 | ||||
-rw-r--r-- | src/daemon/daemon.h | 2 | ||||
-rw-r--r-- | src/daemon/main.cpp | 1 | ||||
-rw-r--r-- | src/daemon/p2p.h | 5 | ||||
-rw-r--r-- | src/daemon/protocol.h | 6 | ||||
-rw-r--r-- | src/daemon/rpc.h | 5 |
8 files changed, 4 insertions, 24 deletions
diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h index 798c34b62..e3afea9cd 100644 --- a/src/daemon/command_line_args.h +++ b/src/daemon/command_line_args.h @@ -31,7 +31,6 @@ #include "common/command_line.h" #include "cryptonote_config.h" -#include <boost/program_options.hpp> namespace daemon_args { diff --git a/src/daemon/core.h b/src/daemon/core.h index c3d84454d..971d9c492 100644 --- a/src/daemon/core.h +++ b/src/daemon/core.h @@ -32,8 +32,6 @@ #include "cryptonote_core/cryptonote_core.h" #include "cryptonote_protocol/cryptonote_protocol_handler.h" #include "misc_log_ex.h" -#include <stdexcept> -#include <boost/program_options.hpp> #include "daemon/command_line_args.h" namespace daemonize diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 8a1f08c10..eda1caa44 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -28,6 +28,9 @@ // // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers +#include <memory> +#include <stdexcept> +#include "misc_log_ex.h" #include "daemon/daemon.h" #include "common/util.h" @@ -36,15 +39,12 @@ #include "daemon/protocol.h" #include "daemon/rpc.h" #include "daemon/command_server.h" -#include "misc_log_ex.h" #include "version.h" #include "../../contrib/epee/include/syncobj.h" using namespace epee; -#include <boost/program_options.hpp> #include <functional> -#include <memory> unsigned int epee::g_test_dbg_lock_sleep = 0; diff --git a/src/daemon/daemon.h b/src/daemon/daemon.h index 8ed2a2f03..d2bac9d49 100644 --- a/src/daemon/daemon.h +++ b/src/daemon/daemon.h @@ -27,8 +27,6 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #pragma once - -#include <memory> #include <boost/program_options.hpp> namespace daemonize { diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 63d25ef1c..149af595d 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -40,7 +40,6 @@ #include "misc_log_ex.h" #include "p2p/net_node.h" #include "rpc/core_rpc_server.h" -#include <boost/program_options.hpp> #include "daemon/command_line_args.h" #include "blockchain_db/db_types.h" diff --git a/src/daemon/p2p.h b/src/daemon/p2p.h index e1a4d38ee..7e91ef08d 100644 --- a/src/daemon/p2p.h +++ b/src/daemon/p2p.h @@ -31,11 +31,8 @@ #pragma once #include "cryptonote_protocol/cryptonote_protocol_handler.h" -#include "daemon/protocol.h" -#include "misc_log_ex.h" #include "p2p/net_node.h" -#include <stdexcept> -#include <boost/program_options.hpp> +#include "daemon/protocol.h" namespace daemonize { diff --git a/src/daemon/protocol.h b/src/daemon/protocol.h index 2fc20d77d..db94c1f36 100644 --- a/src/daemon/protocol.h +++ b/src/daemon/protocol.h @@ -30,12 +30,6 @@ #pragma once -#include "cryptonote_protocol/cryptonote_protocol_handler.h" -#include "misc_log_ex.h" -#include "p2p/net_node.h" -#include <stdexcept> -#include <boost/program_options.hpp> - namespace daemonize { diff --git a/src/daemon/rpc.h b/src/daemon/rpc.h index c809c45c6..b342153fb 100644 --- a/src/daemon/rpc.h +++ b/src/daemon/rpc.h @@ -30,12 +30,7 @@ #pragma once -#include "daemon/core.h" -#include "daemon/p2p.h" -#include "misc_log_ex.h" #include "rpc/core_rpc_server.h" -#include <boost/program_options.hpp> -#include <stdexcept> namespace daemonize { |