diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-15 22:34:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-15 22:34:54 +0300 |
commit | ea556923196e3cae6613e39f44387d68b6c9eded (patch) | |
tree | cac7eb187e2b51aa7ae1656a24002b707383f0ff | |
parent | d0faf695853fa51ff72a557e3bb7f300acabdfa8 (diff) | |
download | mv-ea556923196e3cae6613e39f44387d68b6c9eded.tar.gz mv-ea556923196e3cae6613e39f44387d68b6c9eded.tar.bz2 mv-ea556923196e3cae6613e39f44387d68b6c9eded.tar.xz mv-ea556923196e3cae6613e39f44387d68b6c9eded.zip |
remove unused includes from utils.
-rw-r--r-- | src/utils/checkutils.h | 2 | ||||
-rw-r--r-- | src/utils/cpu.cpp | 2 | ||||
-rw-r--r-- | src/utils/langs.cpp | 5 | ||||
-rw-r--r-- | src/utils/langs.h | 3 | ||||
-rw-r--r-- | src/utils/mkdir.cpp | 2 | ||||
-rw-r--r-- | src/utils/paths.cpp | 2 | ||||
-rw-r--r-- | src/utils/physfsrwops.h | 2 | ||||
-rw-r--r-- | src/utils/physfstools.cpp | 2 | ||||
-rw-r--r-- | src/utils/process.cpp | 2 | ||||
-rw-r--r-- | src/utils/stringutils.cpp | 1 | ||||
-rw-r--r-- | src/utils/translation/podict.cpp | 1 | ||||
-rw-r--r-- | src/utils/xml.cpp | 2 | ||||
-rw-r--r-- | src/utils/xml.h | 1 |
13 files changed, 1 insertions, 26 deletions
diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h index f55ecaece..ed21bda0a 100644 --- a/src/utils/checkutils.h +++ b/src/utils/checkutils.h @@ -21,8 +21,6 @@ #ifndef UTILS_CHECKUTILS_H #define UTILS_CHECKUTILS_H -#include <string> - bool reportFalseReal(const bool val, const char *const file, const unsigned line); diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp index e967a5672..7f78341b5 100644 --- a/src/utils/cpu.cpp +++ b/src/utils/cpu.cpp @@ -24,8 +24,6 @@ #include "utils/stringutils.h" -#include "resources/resourcemanager.h" - #include "debug.h" int mCpuFlags = 0; diff --git a/src/utils/langs.cpp b/src/utils/langs.cpp index 5b8d979a1..6e0390494 100644 --- a/src/utils/langs.cpp +++ b/src/utils/langs.cpp @@ -22,11 +22,6 @@ #include "configuration.h" -#include <algorithm> -#include <cstdarg> -#include <cstdio> -#include <list> - #include "debug.h" LangVect getLang() diff --git a/src/utils/langs.h b/src/utils/langs.h index a59712048..608ae7d05 100644 --- a/src/utils/langs.h +++ b/src/utils/langs.h @@ -22,9 +22,6 @@ #define UTILS_LANGS_H #include <string> -#include <sstream> -#include <list> -#include <set> #include <vector> #include "localconsts.h" diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp index c723e3321..d61fae919 100644 --- a/src/utils/mkdir.cpp +++ b/src/utils/mkdir.cpp @@ -21,9 +21,7 @@ #include "utils/mkdir.h" -#include <climits> #include <cstring> -#include <cerrno> #if defined WIN32 #include <windows.h> diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp index c7542829f..dd045cb5a 100644 --- a/src/utils/paths.cpp +++ b/src/utils/paths.cpp @@ -30,8 +30,6 @@ #include "resources/resourcemanager.h" -#include <cstdarg> -#include <cstdio> #include <stdlib.h> #ifdef WIN32 diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h index 7e859a234..11b44a185 100644 --- a/src/utils/physfsrwops.h +++ b/src/utils/physfsrwops.h @@ -25,7 +25,7 @@ #ifndef UTILS_PHYSFSRWOPS_H #define UTILS_PHYSFSRWOPS_H -#include <SDL.h> +#include <SDL_rwops.h> #include "utils/physfstools.h" diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index d15932274..0a6756a78 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -20,8 +20,6 @@ #include "utils/physfstools.h" -#include "logger.h" - const char *dirSeparator = nullptr; namespace PhysFs diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 4a447848c..37670b18b 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -28,8 +28,6 @@ #include "localconsts.h" -#include "utils/stringutils.h" - #include "debug.h" const int timeOut = 10; diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 09cd41fc2..c5ac71d28 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -28,7 +28,6 @@ #include <cstdio> #include <list> -#include <sys/time.h> #include <ctype.h> #include "debug.h" diff --git a/src/utils/translation/podict.cpp b/src/utils/translation/podict.cpp index 8b6fb434e..3941e776e 100644 --- a/src/utils/translation/podict.cpp +++ b/src/utils/translation/podict.cpp @@ -21,7 +21,6 @@ #include "utils/translation/podict.h" #include "localconsts.h" -#include "logger.h" #include "debug.h" diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp index d19c466d1..43e5be34b 100644 --- a/src/utils/xml.cpp +++ b/src/utils/xml.cpp @@ -30,9 +30,7 @@ #include "utils/translation/podict.h" -#include <iostream> #include <fstream> -#include <cstring> #include "debug.h" diff --git a/src/utils/xml.h b/src/utils/xml.h index d67747659..a0a563498 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -23,7 +23,6 @@ #ifndef UTILS_XML_H #define UTILS_XML_H -#include <libxml/encoding.h> #include <libxml/xmlwriter.h> #include <libxml/tree.h> |