summaryrefslogtreecommitdiff
path: root/src/fs/virtfs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-12 01:58:14 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-12 02:55:11 +0300
commit9abb84a68de92f8cd78f95821a7238d86f1169dd (patch)
tree28f327d83ff2cd56c4f605a37e0f8c10238c685d /src/fs/virtfs
parentfebe573aab4c43eb2765f04f8154c281b8fced50 (diff)
downloadplus-9abb84a68de92f8cd78f95821a7238d86f1169dd.tar.gz
plus-9abb84a68de92f8cd78f95821a7238d86f1169dd.tar.bz2
plus-9abb84a68de92f8cd78f95821a7238d86f1169dd.tar.xz
plus-9abb84a68de92f8cd78f95821a7238d86f1169dd.zip
Remove extra includes.
Diffstat (limited to 'src/fs/virtfs')
-rw-r--r--src/fs/virtfs/virtdirentry.h2
-rw-r--r--src/fs/virtfs/virtfileprivate.cpp2
-rw-r--r--src/fs/virtfs/virtfileprivate.h4
-rw-r--r--src/fs/virtfs/virtfs_unittest.cc1
-rw-r--r--src/fs/virtfs/virtfsdir.cpp2
-rw-r--r--src/fs/virtfs/virtfsentry.cpp2
-rw-r--r--src/fs/virtfs/virtzipentry.h1
-rw-r--r--src/fs/virtfs/zip.cpp2
-rw-r--r--src/fs/virtfs/ziplocalheader.cpp2
9 files changed, 0 insertions, 18 deletions
diff --git a/src/fs/virtfs/virtdirentry.h b/src/fs/virtfs/virtdirentry.h
index 57f4bc22e..a1cc4a24f 100644
--- a/src/fs/virtfs/virtdirentry.h
+++ b/src/fs/virtfs/virtdirentry.h
@@ -24,8 +24,6 @@
#include "fs/virtfs/virtfsentry.h"
-#include <string>
-
#include "localconsts.h"
struct VirtDirEntry final : public VirtFsEntry
diff --git a/src/fs/virtfs/virtfileprivate.cpp b/src/fs/virtfs/virtfileprivate.cpp
index 5baadbc15..eac55571e 100644
--- a/src/fs/virtfs/virtfileprivate.cpp
+++ b/src/fs/virtfs/virtfileprivate.cpp
@@ -21,8 +21,6 @@
#ifndef USE_PHYSFS
#include "fs/virtfs/virtfileprivate.h"
-#include <unistd.h>
-
#include "debug.h"
VirtFilePrivate::VirtFilePrivate() :
diff --git a/src/fs/virtfs/virtfileprivate.h b/src/fs/virtfs/virtfileprivate.h
index 08c6a3311..a9e1edf3e 100644
--- a/src/fs/virtfs/virtfileprivate.h
+++ b/src/fs/virtfs/virtfileprivate.h
@@ -26,10 +26,6 @@
#include "fs/virtfs/fileapi.h"
-#ifdef USE_FILE_FOPEN
-#include <stdio.h>
-#endif // USE_FILE_FOPEN
-
struct VirtFilePrivate final
{
VirtFilePrivate();
diff --git a/src/fs/virtfs/virtfs_unittest.cc b/src/fs/virtfs/virtfs_unittest.cc
index 66a9c6435..126c3e1a7 100644
--- a/src/fs/virtfs/virtfs_unittest.cc
+++ b/src/fs/virtfs/virtfs_unittest.cc
@@ -29,7 +29,6 @@
#include "fs/virtfs/virtdirentry.h"
#include "fs/virtfs/virtfs.h"
-#include "fs/virtfs/ziplocalheader.h"
#include "utils/checkutils.h"
#include "utils/delete2.h"
diff --git a/src/fs/virtfs/virtfsdir.cpp b/src/fs/virtfs/virtfsdir.cpp
index 69e8fd25a..2092fcf31 100644
--- a/src/fs/virtfs/virtfsdir.cpp
+++ b/src/fs/virtfs/virtfsdir.cpp
@@ -36,8 +36,6 @@
#include "utils/stringutils.h"
#include <dirent.h>
-#include <fcntl.h>
-#include <iostream>
#include <unistd.h>
#ifdef USE_FILE_FOPEN
diff --git a/src/fs/virtfs/virtfsentry.cpp b/src/fs/virtfs/virtfsentry.cpp
index 274415bef..efffd0927 100644
--- a/src/fs/virtfs/virtfsentry.cpp
+++ b/src/fs/virtfs/virtfsentry.cpp
@@ -22,8 +22,6 @@
#include "fs/virtfs/virtfsentry.h"
-#include "fs/virtfsfuncs.h"
-
#include "debug.h"
VirtFsEntry::VirtFsEntry(const FsEntryTypeT &type0,
diff --git a/src/fs/virtfs/virtzipentry.h b/src/fs/virtfs/virtzipentry.h
index d48e4ccc6..6487deeb0 100644
--- a/src/fs/virtfs/virtzipentry.h
+++ b/src/fs/virtfs/virtzipentry.h
@@ -24,7 +24,6 @@
#include "fs/virtfs/virtfsentry.h"
-#include <string>
#include <vector>
#include "localconsts.h"
diff --git a/src/fs/virtfs/zip.cpp b/src/fs/virtfs/zip.cpp
index d7bb095c3..c9276449b 100644
--- a/src/fs/virtfs/zip.cpp
+++ b/src/fs/virtfs/zip.cpp
@@ -30,8 +30,6 @@
#include "utils/checkutils.h"
#include "utils/stringutils.h"
-#include <iostream>
-#include <unistd.h>
#include <zlib.h>
#include <SDL_endian.h>
diff --git a/src/fs/virtfs/ziplocalheader.cpp b/src/fs/virtfs/ziplocalheader.cpp
index 36224aa68..40ddcaffd 100644
--- a/src/fs/virtfs/ziplocalheader.cpp
+++ b/src/fs/virtfs/ziplocalheader.cpp
@@ -22,8 +22,6 @@
#include "fs/virtfs/ziplocalheader.h"
-#include "fs/virtfs/virtzipentry.h"
-
#include "localconsts.h"
#include "debug.h"