projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8d659
)
background.c: remove unused filesize() function
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 27 Feb 2008 20:48:04 +0000
(12:48 -0800)
committer
H. 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
patch
|
blob
|
history
diff --git
a/com32/lib/sys/vesa/background.c
b/com32/lib/sys/vesa/background.c
index
f141a6a
..
557a65f
100644
(file)
--- 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