aboutsummaryrefslogtreecommitdiff
path: root/common/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/file.h')
-rw-r--r--common/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.h b/common/file.h
index 803d0d5905..cda98bac10 100644
--- a/common/file.h
+++ b/common/file.h
@@ -66,6 +66,7 @@ public:
bool isOpen() const;
bool ioFailed() const;
void clearIOFailed();
+ bool eos() const { return eof(); }
bool eof() const;
uint32 pos() const;
uint32 size() const;
@@ -73,7 +74,6 @@ public:
void seek(int32 offs, int whence = SEEK_SET);
uint32 read(void *ptr, uint32 size);
uint32 write(const void *ptr, uint32 size);
- char *gets(void *ptr, uint32 size);
};
#endif