From d6cded53803de692eebc6dd41e9648f3399c9f7d Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 Oct 2009 17:16:41 +0000 Subject: (svn r17693) -Cleanup: remove some unneeded includes --- src/network/core/address.cpp | 3 --- src/network/core/core.cpp | 2 -- src/network/core/host.cpp | 3 --- src/network/core/tcp.cpp | 1 - src/network/core/tcp_connect.cpp | 2 -- src/network/core/tcp_content.cpp | 1 - src/network/core/tcp_game.cpp | 3 --- src/network/core/udp.cpp | 5 ----- 8 files changed, 20 deletions(-) (limited to 'src/network/core') 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" /** -- cgit v1.2.3-54-g00ecf