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/fs/fs.c | |
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/fs/fs.c')
-rw-r--r-- | core/fs/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fs/fs.c b/core/fs/fs.c index 997eadba..21e7684a 100644 --- a/core/fs/fs.c +++ b/core/fs/fs.c @@ -447,7 +447,7 @@ void pm_close_file(com32sys_t *regs) */ __bss16 uint16_t SectorSize, SectorShift; -void fs_init(const struct fs_ops **ops, struct disk_private *priv) +void fs_init(const struct fs_ops **ops, void *priv) { static struct fs_info fs; /* The actual filesystem buffer */ int blk_shift = -1; |