aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux/main.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-06-09 11:20:41 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-06-09 11:20:41 -0700
commit95c91f42886abdd9af08cbed66b50dd37eb555dc (patch)
treeaf51954f4683f2d7460a2e28931eefe183c24ff8 /extlinux/main.c
parent146c34a2632a4295b1aef44ef79e84b4d4b9cf7e (diff)
downloadsyslinux-95c91f42886abdd9af08cbed66b50dd37eb555dc.tar.gz
syslinux-95c91f42886abdd9af08cbed66b50dd37eb555dc.tar.xz
syslinux-95c91f42886abdd9af08cbed66b50dd37eb555dc.zip
Clean up warnings in previous checkin
Clean up warnings in checkin 146c34a2 Make syslinux installer real "pathbased" Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'extlinux/main.c')
-rw-r--r--extlinux/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/extlinux/main.c b/extlinux/main.c
index 8a0ac63b..e33e3ae0 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -82,11 +82,14 @@ typedef uint64_t u64;
#define BTRFS_SUBVOL_OPT "subvol="
#define BTRFS_SUBVOL_MAX 256 /* By btrfs specification */
static char subvol[BTRFS_SUBVOL_MAX];
+
/*
* Boot block
*/
extern unsigned char extlinux_bootsect[];
extern unsigned int extlinux_bootsect_len;
+#undef boot_block
+#undef boot_block_len
#define boot_block extlinux_bootsect
#define boot_block_len extlinux_bootsect_len
@@ -95,6 +98,8 @@ extern unsigned int extlinux_bootsect_len;
*/
extern unsigned char extlinux_image[];
extern unsigned int extlinux_image_len;
+#undef boot_image
+#undef boot_image_len
#define boot_image extlinux_image
#define boot_image_len extlinux_image_len