diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-11-15 12:00:30 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-11-15 13:06:48 +0000 |
commit | 813388b889a38d756ce2709148244ba7cb354003 (patch) | |
tree | baf08f5889229989ff66e6c4717473d88236aff5 /core/include/fs.h | |
parent | d87b69dccdf1a42942c277ca6b074a69b95d87c4 (diff) | |
download | syslinux-813388b889a38d756ce2709148244ba7cb354003.tar.gz |
firmware: Make disk->private an opaque type
We've currently got both the BIOS and EFI versions of struct
disk_private in core/include/disk.h, which isn't ideal because this
file shouldn't need to know about the inner-workings of the firmware's
private disk info.
Move the implementation of 'struct disk_private' into more suitable
locations and use a void * for the 'private' member of struct disk.
This change allows us to once and for all delete the gnu-efi header
files from core/include/core.h and the gnu-efi include paths from
mk/lib.mk.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r-- | core/include/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fs.h b/core/include/fs.h index c648d2ad..4d6c18be 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -186,7 +186,7 @@ static inline struct file *handle_to_file(uint16_t handle) extern char *PATH; /* fs.c */ -void fs_init(const struct fs_ops **ops, struct disk_private *priv); +void fs_init(const struct fs_ops **ops, void *priv); void pm_mangle_name(com32sys_t *); void pm_searchdir(com32sys_t *); void mangle_name(char *, const char *); |