summaryrefslogtreecommitdiff
path: root/com32/include/syslinux
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-15 12:00:30 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-15 13:06:48 +0000
commit813388b889a38d756ce2709148244ba7cb354003 (patch)
treebaf08f5889229989ff66e6c4717473d88236aff5 /com32/include/syslinux
parentd87b69dccdf1a42942c277ca6b074a69b95d87c4 (diff)
downloadsyslinux-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 'com32/include/syslinux')
-rw-r--r--com32/include/syslinux/firmware.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/com32/include/syslinux/firmware.h b/com32/include/syslinux/firmware.h
index c2b5a44c..13ba1591 100644
--- a/com32/include/syslinux/firmware.h
+++ b/com32/include/syslinux/firmware.h
@@ -45,7 +45,6 @@ struct mem_ops {
int (*scan_memory)(scan_memory_callback_t, void *);
};
-struct disk_private;
struct initramfs;
struct setup_data;