diff options
author | Dandan Bi <dandan.bi@intel.com> | 2016-12-08 14:38:26 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-12-09 11:02:08 +0800 |
commit | 6b7e4498e8eb4b3e69472bdadbc5de60d15e0d4d (patch) | |
tree | 3665800fdd9703c83b06e8262ac1d3375c8c2b31 /FatPkg/EnhancedFatDxe/FatFileSystem.h | |
parent | c1680e885d8a4bc938a0ed4db5370d7e974c1849 (diff) | |
download | edk2-platforms-6b7e4498e8eb4b3e69472bdadbc5de60d15e0d4d.tar.xz |
FatPkg/EnhancedFatDxe: Use typedef for complex type
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'FatPkg/EnhancedFatDxe/FatFileSystem.h')
-rw-r--r-- | FatPkg/EnhancedFatDxe/FatFileSystem.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/FatPkg/EnhancedFatDxe/FatFileSystem.h b/FatPkg/EnhancedFatDxe/FatFileSystem.h index bcef25836a..3f89a3410a 100644 --- a/FatPkg/EnhancedFatDxe/FatFileSystem.h +++ b/FatPkg/EnhancedFatDxe/FatFileSystem.h @@ -146,12 +146,14 @@ typedef struct { CHAR8 SystemId[8];
} FAT32_BOOT_SECTOR_EXT;
-typedef struct {
- FAT_BOOT_SECTOR_BASIC FatBsb;
- union {
+typedef union {
FAT_BOOT_SECTOR_EXT FatBse;
FAT32_BOOT_SECTOR_EXT Fat32Bse;
- } FatBse;
+ } FAT_BSE;
+
+typedef struct {
+ FAT_BOOT_SECTOR_BASIC FatBsb;
+ FAT_BSE FatBse;
} FAT_BOOT_SECTOR;
//
|