aboutsummaryrefslogtreecommitdiffstats
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
commit6994378d75abb48c8b8e93a9b5459d75a699e803 (patch)
tree91afd2b9bb7aee6e0f1a85f1196c244b28d70dec /libfat
parent6b38abd5bc448d41331eec550314e57c6ea6e92d (diff)
downloadsyslinux-6994378d75abb48c8b8e93a9b5459d75a699e803.tar.gz
syslinux-6994378d75abb48c8b8e93a9b5459d75a699e803.tar.xz
syslinux-6994378d75abb48c8b8e93a9b5459d75a699e803.zip
Run Nindent on libfat/libfat.h
Automatically reformat libfat/libfat.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/libfat.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libfat/libfat.h b/libfat/libfat.h
index 41053144..1ebc8698 100644
--- a/libfat/libfat.h
+++ b/libfat/libfat.h
@@ -30,9 +30,9 @@ typedef uint32_t libfat_sector_t;
struct libfat_filesystem;
struct libfat_direntry {
- libfat_sector_t sector;
- int offset;
- unsigned char entry[32];
+ libfat_sector_t sector;
+ int offset;
+ unsigned char entry[32];
};
/*
@@ -45,9 +45,9 @@ struct libfat_direntry {
*
* A return value of != secsize is treated as error.
*/
-struct libfat_filesystem *
-libfat_open(int (*readfunc)(intptr_t, void *, size_t, libfat_sector_t),
- intptr_t readptr);
+struct libfat_filesystem
+ *libfat_open(int (*readfunc) (intptr_t, void *, size_t, libfat_sector_t),
+ intptr_t readptr);
void libfat_close(struct libfat_filesystem *);
@@ -63,7 +63,7 @@ libfat_sector_t libfat_clustertosector(const struct libfat_filesystem *fs,
* Returns 0 on end of file and -1 on error.
*/
libfat_sector_t libfat_nextsector(struct libfat_filesystem *fs,
- libfat_sector_t s);
+ libfat_sector_t s);
/*
* Flush all cached sectors for this filesystem.
@@ -73,7 +73,7 @@ void libfat_flush(struct libfat_filesystem *fs);
/*
* Get a pointer to a specific sector.
*/
-void * libfat_get_sector(struct libfat_filesystem *fs, libfat_sector_t n);
+void *libfat_get_sector(struct libfat_filesystem *fs, libfat_sector_t n);
/*
* Search a FAT directory for a particular pre-mangled filename.