diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2008-02-27 12:40:31 -0800 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-27 12:40:31 -0800 |
| commit | 48722c47bbdcfe51e905e87ec0d34415506393c5 (patch) | |
| tree | b20c6bb0d1f556068eeb813db89892b645bec777 /com32/include/syslinux/loadfile.h | |
| parent | bcfd0df3c9778eff358926dffd35f870becff26b (diff) | |
| download | syslinux-48722c47bbdcfe51e905e87ec0d34415506393c5.tar.gz | |
Comboot/Com32 changes for unspecified file lengths
Handle unspecified file length for comboot/com32 modules; do changes
to the appropriate part of libcom32 to handle this properly.
Diffstat (limited to 'com32/include/syslinux/loadfile.h')
| -rw-r--r-- | com32/include/syslinux/loadfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/include/syslinux/loadfile.h b/com32/include/syslinux/loadfile.h index fbda589d..c565cc9a 100644 --- a/com32/include/syslinux/loadfile.h +++ b/com32/include/syslinux/loadfile.h @@ -2,11 +2,13 @@ #define LIBUTIL_LOADFILE_H #include <stddef.h> +#include <stdio.h> /* loadfile() returns the true size of the file, but will guarantee valid, zero-padded memory out to this boundary. */ #define LOADFILE_ZERO_PAD 64 int loadfile(const char *, void **, size_t *); +int floadfile(FILE *, void **, size_t *, const void *, size_t); #endif |
