background.c: remove unused filesize() function
authorH. Peter Anvin <hpa@zytor.com>
Wed, 27 Feb 2008 20:48:04 +0000 (12:48 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 27 Feb 2008 20:48:04 +0000 (12:48 -0800)
Remove obsolete and now unused filesize() function.

com32/lib/sys/vesa/background.c

index f141a6a..557a65f 100644 (file)
 #include "vesa.h"
 #include "video.h"
 
-static size_t filesize(FILE *fp)
-{
-  struct stat st;
-  if (fstat(fileno(fp), &st))
-    return 0;
-  else
-    return st.st_size;
-}
-
 /*** FIX: This really should be alpha-blended with color index 0 ***/
 
 /* For best performance, "start" should be a multiple of 4, to assure