summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-04 17:16:41 +0000
committerrubidium <rubidium@openttd.org>2009-10-04 17:16:41 +0000
commitd6cded53803de692eebc6dd41e9648f3399c9f7d (patch)
tree420d39582d566fdb314cb4bfdd1e1389d4fd7510 /src/network/core
parent32cbe57178129d371752e29e857fa454a046f7c3 (diff)
downloadopenttd-d6cded53803de692eebc6dd41e9648f3399c9f7d.tar.xz
(svn r17693) -Cleanup: remove some unneeded includes
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/address.cpp3
-rw-r--r--src/network/core/core.cpp2
-rw-r--r--src/network/core/host.cpp3
-rw-r--r--src/network/core/tcp.cpp1
-rw-r--r--src/network/core/tcp_connect.cpp2
-rw-r--r--src/network/core/tcp_content.cpp1
-rw-r--r--src/network/core/tcp_game.cpp3
-rw-r--r--src/network/core/udp.cpp5
8 files changed, 0 insertions, 20 deletions
diff --git a/src/network/core/address.cpp b/src/network/core/address.cpp
index 676fc66c3..4e1237577 100644
--- a/src/network/core/address.cpp
+++ b/src/network/core/address.cpp
@@ -14,9 +14,6 @@
#ifdef ENABLE_NETWORK
#include "address.h"
-#include "config.h"
-#include "host.h"
-#include "../../string_func.h"
#include "../../debug.h"
const char *NetworkAddress::GetHostname()
diff --git a/src/network/core/core.cpp b/src/network/core/core.cpp
index 76f62bced..76049f6fb 100644
--- a/src/network/core/core.cpp
+++ b/src/network/core/core.cpp
@@ -15,8 +15,6 @@
#include "../../stdafx.h"
#include "../../debug.h"
-#include "os_abstraction.h"
-#include "core.h"
#include "packet.h"
diff --git a/src/network/core/host.cpp b/src/network/core/host.cpp
index d622e2e8c..0af0f7992 100644
--- a/src/network/core/host.cpp
+++ b/src/network/core/host.cpp
@@ -13,10 +13,7 @@
#include "../../stdafx.h"
#include "../../debug.h"
-#include "os_abstraction.h"
#include "address.h"
-#include "../../core/alloc_func.hpp"
-#include "../../string_func.h"
/**
* Internal implementation for finding the broadcast IPs.
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp
index 032af3c50..2064945a7 100644
--- a/src/network/core/tcp.cpp
+++ b/src/network/core/tcp.cpp
@@ -16,7 +16,6 @@
#include "../../stdafx.h"
#include "../../debug.h"
-#include "packet.h"
#include "tcp.h"
NetworkTCPSocketHandler::NetworkTCPSocketHandler(SOCKET s) :
diff --git a/src/network/core/tcp_connect.cpp b/src/network/core/tcp_connect.cpp
index 5d5d2feba..5585ae5a7 100644
--- a/src/network/core/tcp_connect.cpp
+++ b/src/network/core/tcp_connect.cpp
@@ -14,8 +14,6 @@
#ifdef ENABLE_NETWORK
#include "../../stdafx.h"
-#include "../../debug.h"
-#include "../../core/smallvec_type.hpp"
#include "../../thread/thread.h"
#include "tcp.h"
diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp
index a56f31d8d..423516f2e 100644
--- a/src/network/core/tcp_content.cpp
+++ b/src/network/core/tcp_content.cpp
@@ -14,7 +14,6 @@
#ifdef ENABLE_NETWORK
#include "../../stdafx.h"
-#include "../../debug.h"
#include "tcp_content.h"
ContentInfo::ContentInfo()
diff --git a/src/network/core/tcp_game.cpp b/src/network/core/tcp_game.cpp
index ffa2b07f9..b0c685378 100644
--- a/src/network/core/tcp_game.cpp
+++ b/src/network/core/tcp_game.cpp
@@ -15,11 +15,8 @@
#include "../../stdafx.h"
#include "../../openttd.h"
-#include "../../variables.h"
#include "../network_internal.h"
-#include "packet.h"
-#include "tcp_game.h"
#include "../../core/pool_func.hpp"
#include "table/strings.h"
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 6c03343d0..6ab412d84 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -14,12 +14,7 @@
#ifdef ENABLE_NETWORK
#include "../../stdafx.h"
-#include "../../debug.h"
-#include "../../core/bitmath_func.hpp"
-#include "../../core/math_func.hpp"
-#include "../../core/alloc_func.hpp"
#include "../../date_func.h"
-#include "packet.h"
#include "udp.h"
/**