diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:33 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:33 -0700 |
commit | 6994378d75abb48c8b8e93a9b5459d75a699e803 (patch) | |
tree | 91afd2b9bb7aee6e0f1a85f1196c244b28d70dec | |
parent | 6b38abd5bc448d41331eec550314e57c6ea6e92d (diff) | |
download | syslinux.git-6994378d75abb48c8b8e93a9b5459d75a699e803.tar.gz syslinux.git-6994378d75abb48c8b8e93a9b5459d75a699e803.tar.xz syslinux.git-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>
-rw-r--r-- | libfat/libfat.h | 16 |
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. |