mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- removed Q_filelength which is no longer being used.
This commit is contained in:
parent
7d0759e2fa
commit
1afc3b48a1
2 changed files with 0 additions and 21 deletions
|
@ -145,26 +145,6 @@ void ReplaceString (char **ptr, const char *str)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
//==========================================================================
|
|
||||||
//
|
|
||||||
// Q_filelength
|
|
||||||
//
|
|
||||||
//==========================================================================
|
|
||||||
|
|
||||||
int Q_filelength (FILE *f)
|
|
||||||
{
|
|
||||||
int pos;
|
|
||||||
int end;
|
|
||||||
|
|
||||||
pos = ftell (f);
|
|
||||||
fseek (f, 0, SEEK_END);
|
|
||||||
end = ftell (f);
|
|
||||||
fseek (f, pos, SEEK_SET);
|
|
||||||
|
|
||||||
return end;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
//
|
//
|
||||||
// FileExists
|
// FileExists
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
// the dec offsetof macro doesnt work very well...
|
// the dec offsetof macro doesnt work very well...
|
||||||
#define myoffsetof(type,identifier) ((size_t)&((type *)alignof(type))->identifier - alignof(type))
|
#define myoffsetof(type,identifier) ((size_t)&((type *)alignof(type))->identifier - alignof(type))
|
||||||
|
|
||||||
int Q_filelength (FILE *f);
|
|
||||||
bool FileExists (const char *filename);
|
bool FileExists (const char *filename);
|
||||||
bool DirExists(const char *filename);
|
bool DirExists(const char *filename);
|
||||||
bool DirEntryExists (const char *pathname);
|
bool DirEntryExists (const char *pathname);
|
||||||
|
|
Loading…
Reference in a new issue