summaryrefslogtreecommitdiff
path: root/src/fs/virtfsfuncs.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-11 21:39:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-11 21:39:42 +0300
commita721e4898f71a68ecb916940864599d462880e5b (patch)
tree50442e8b86707221f498ea0f304a5314a0e67430 /src/fs/virtfsfuncs.h
parent81b97b30afa0c72e5ff17162c7d1fa88dd6187fb (diff)
downloadmv-a721e4898f71a68ecb916940864599d462880e5b.tar.gz
mv-a721e4898f71a68ecb916940864599d462880e5b.tar.bz2
mv-a721e4898f71a68ecb916940864599d462880e5b.tar.xz
mv-a721e4898f71a68ecb916940864599d462880e5b.zip
Fix different issues found by automatic checks.
Diffstat (limited to 'src/fs/virtfsfuncs.h')
-rw-r--r--src/fs/virtfsfuncs.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/fs/virtfsfuncs.h b/src/fs/virtfsfuncs.h
index b78643f7f..c931a2263 100644
--- a/src/fs/virtfsfuncs.h
+++ b/src/fs/virtfsfuncs.h
@@ -41,6 +41,15 @@ struct VirtFsFuncs final
fileLength(nullptr),
tell(nullptr),
seek(nullptr),
+#ifndef USE_PHYSFS
+ exists(nullptr),
+ getRealDir(nullptr),
+ enumerate(nullptr),
+ isDirectory(nullptr),
+ openRead(nullptr),
+ openWrite(nullptr),
+ openAppend(nullptr),
+#endif
eof(nullptr)
{
}
@@ -60,7 +69,6 @@ struct VirtFsFuncs final
int64_t (*tell) (VirtFile *restrict const file);
int (*seek) (VirtFile *restrict const file,
const uint64_t pos);
- int (*eof) (VirtFile *restrict const file);
#ifndef USE_PHYSFS
bool (*exists) (VirtFsEntry *restrict const entry,
const std::string &filename,
@@ -82,6 +90,7 @@ struct VirtFsFuncs final
VirtFile *(*openAppend) (VirtFsEntry *restrict const entry,
const std::string &filename);
#endif // USE_PHYSFS
+ int (*eof) (VirtFile *restrict const file);
};
#endif // UTILS_VIRTFSFUNCS_H