shithub: rgbds

Download patch

ref: b1469902d6f9656cc60b3788b51c424c0dec49ab
parent: 761656c54bc89fc44fd9a26f5466e5872636f85e
author: bentley <[email protected]>
date: Mon Jan 18 10:45:38 EST 2010

filesize() function was unused! guess I'll remove it

--- a/src/asm/fstack.c
+++ b/src/asm/fstack.c
@@ -46,19 +46,6 @@
 #define STAT_isMacroArg		2
 #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)
  *