aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-27 12:48:04 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-27 12:48:04 -0800
commitc7897f4098ce5977fe5dffa0ee15bc842339567f (patch)
tree1fba4ca28311073e42b6940cb963601a14006750 /com32/lib
parentdd8d65961f2b6a45af1ceb7813b7012c0f6691b6 (diff)
downloadsyslinux-c7897f4098ce5977fe5dffa0ee15bc842339567f.tar.gz
syslinux-c7897f4098ce5977fe5dffa0ee15bc842339567f.tar.xz
syslinux-c7897f4098ce5977fe5dffa0ee15bc842339567f.zip
background.c: remove unused filesize() function
Remove obsolete and now unused filesize() function.
Diffstat (limited to 'com32/lib')
-rw-r--r--com32/lib/sys/vesa/background.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c
index f141a6ae..557a65fb 100644
--- a/com32/lib/sys/vesa/background.c
+++ b/com32/lib/sys/vesa/background.c
@@ -37,15 +37,6 @@
#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