From a721e4898f71a68ecb916940864599d462880e5b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Mar 2017 21:39:42 +0300 Subject: Fix different issues found by automatic checks. --- src/fs/virtfsfuncs.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/fs/virtfsfuncs.h') 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 -- cgit v1.2.3-60-g2f50