summaryrefslogtreecommitdiff
path: root/libfat
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:33 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:33 -0700
commit952a38e97ef1b559a28ef1ea2aa9ff26b04a6a68 (patch)
tree3bbe52d7c1fd8e7321187a4e84baf3b4f0e66b9d /libfat
parent6994378d75abb48c8b8e93a9b5459d75a699e803 (diff)
downloadsyslinux-952a38e97ef1b559a28ef1ea2aa9ff26b04a6a68.tar.gz
Run Nindent on libfat/libfatint.h
Automatically reformat libfat/libfatint.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'libfat')
-rw-r--r--libfat/libfatint.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/libfat/libfatint.h b/libfat/libfatint.h
index 78d9951f..adfad00b 100644
--- a/libfat/libfatint.h
+++ b/libfat/libfatint.h
@@ -23,33 +23,33 @@
#include "fat.h"
struct libfat_sector {
- libfat_sector_t n; /* Sector number */
- struct libfat_sector *next; /* Next in list */
- char data[LIBFAT_SECTOR_SIZE];
+ libfat_sector_t n; /* Sector number */
+ struct libfat_sector *next; /* Next in list */
+ char data[LIBFAT_SECTOR_SIZE];
};
enum fat_type {
- FAT12,
- FAT16,
- FAT28
+ FAT12,
+ FAT16,
+ FAT28
};
struct libfat_filesystem {
- int (*read)(intptr_t, void *, size_t, libfat_sector_t);
- intptr_t readptr;
+ int (*read) (intptr_t, void *, size_t, libfat_sector_t);
+ intptr_t readptr;
- enum fat_type fat_type;
- unsigned int clustsize;
- int clustshift;
- int32_t endcluster; /* Highest legal cluster number + 1 */
- int32_t rootcluster; /* Root directory cluster */
+ enum fat_type fat_type;
+ unsigned int clustsize;
+ int clustshift;
+ int32_t endcluster; /* Highest legal cluster number + 1 */
+ int32_t rootcluster; /* Root directory cluster */
- libfat_sector_t fat; /* Start of FAT */
- libfat_sector_t rootdir; /* Start of root directory */
- libfat_sector_t data; /* Start of data area */
- libfat_sector_t end; /* End of filesystem */
+ libfat_sector_t fat; /* Start of FAT */
+ libfat_sector_t rootdir; /* Start of root directory */
+ libfat_sector_t data; /* Start of data area */
+ libfat_sector_t end; /* End of filesystem */
- struct libfat_sector *sectors;
+ struct libfat_sector *sectors;
};
#endif /* LIBFATINT_H */