mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
filesize() function was unused! guess I'll remove it
This commit is contained in:
@@ -46,19 +46,6 @@ ULONG ulMacroReturnValue;
|
|||||||
#define STAT_isMacroArg 2
|
#define STAT_isMacroArg 2
|
||||||
#define STAT_isREPTBlock 3
|
#define STAT_isREPTBlock 3
|
||||||
|
|
||||||
ULONG
|
|
||||||
filesize(char *s)
|
|
||||||
{
|
|
||||||
FILE *f;
|
|
||||||
ULONG size = 0;
|
|
||||||
|
|
||||||
if ((f = fopen(s, "r")) != NULL) {
|
|
||||||
fseek(f, 0, SEEK_END);
|
|
||||||
size = ftell(f);
|
|
||||||
fclose(f);
|
|
||||||
}
|
|
||||||
return (size);
|
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
* RGBAsm - FSTACK.C (FileStack routines)
|
* RGBAsm - FSTACK.C (FileStack routines)
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user