diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2009-05-19 16:48:19 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-19 16:48:19 -0700 |
| commit | 43b3ae31727836ef0e9c7348fa98c462a47b52aa (patch) | |
| tree | 00ff02577f0e298c96bb523cbe755e0a99657aa2 /libinstaller/syslinux.h | |
| parent | 0fa4369624b4637a7e36ed22e89a759031f08327 (diff) | |
| download | syslinux-43b3ae31727836ef0e9c7348fa98c462a47b52aa.tar.gz | |
Standardize the names SECTOR_SIZE and SECTOR_SHIFT
Use the names SECTOR_SIZE and SECTOR_SHIFT everywhere, instead of an
odd mix of symbols and hard-coded constants.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'libinstaller/syslinux.h')
| -rw-r--r-- | libinstaller/syslinux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libinstaller/syslinux.h b/libinstaller/syslinux.h index e0554255..902beaf9 100644 --- a/libinstaller/syslinux.h +++ b/libinstaller/syslinux.h @@ -30,8 +30,8 @@ extern const unsigned int syslinux_mbr_len; extern const int syslinux_mbr_mtime; /* Sector size assumptions... */ -#define SECTOR_BITS 9 -#define SECTOR_SIZE (1 << SECTOR_BITS) +#define SECTOR_SHIFT 9 +#define SECTOR_SIZE (1 << SECTOR_SHIFT) /* This takes a boot sector and merges in the syslinux fields */ void syslinux_make_bootsect(void *); |
