diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-11 21:39:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-11 21:39:42 +0300 |
commit | a721e4898f71a68ecb916940864599d462880e5b (patch) | |
tree | 50442e8b86707221f498ea0f304a5314a0e67430 /src/fs/virtfsfuncs.h | |
parent | 81b97b30afa0c72e5ff17162c7d1fa88dd6187fb (diff) | |
download | mv-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.h | 11 |
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 |