diff options
author | Debarshi Ray <rishi@gnu.org> | 2007-02-16 10:10:17 +0530 |
---|---|---|
committer | দেবর্ষি রায় <rishi@Sunflower.(none)> | 2007-02-16 10:10:17 +0530 |
commit | 93ca20d8aebd0d04dbb00b86a2903c992e59a96b (patch) | |
tree | 2e1abf3843932153115ac884196890c42963b0e5 /libparted/fs/fat/fat.h | |
parent | f4022a35faf01c5286ab5b44bce080e80d310099 (diff) | |
download | parted-93ca20d8aebd0d04dbb00b86a2903c992e59a96b.tar.gz |
Fix the style of typedef, enum, struct and __attribute__ ((packed)).
Diffstat (limited to 'libparted/fs/fat/fat.h')
-rw-r--r-- | libparted/fs/fat/fat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/fs/fat/fat.h b/libparted/fs/fat/fat.h index c571e90..2c91dee 100644 --- a/libparted/fs/fat/fat.h +++ b/libparted/fs/fat/fat.h @@ -63,7 +63,7 @@ typedef struct _FatDirEntry FatDirEntry; #include "count.h" #include "clstdup.h" -struct _FatDirEntry { +struct __attribute__ ((packed)) _FatDirEntry { char name[8]; uint8_t extension[3]; uint8_t attributes; @@ -77,7 +77,7 @@ struct _FatDirEntry { uint16_t date; uint16_t first_cluster; uint32_t length; -} __attribute__ ((packed)); +}; struct _FatSpecific { FatBootSector boot_sector; /* structure of boot sector */ |