summaryrefslogtreecommitdiffstats
path: root/libinstaller
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
commit583a9c965626bb7e298bfce2a75f8db9329a19bb (patch)
treed94343d9a0752477727448d51bedfd9c402ac445 /libinstaller
parente108f6343d5a420bdc32d3749b97ab4f52409b91 (diff)
downloadsyslinux-583a9c965626bb7e298bfce2a75f8db9329a19bb.tar.gz
syslinux-583a9c965626bb7e298bfce2a75f8db9329a19bb.tar.xz
syslinux-583a9c965626bb7e298bfce2a75f8db9329a19bb.zip
Run Nindent on libinstaller/syslinux.h
Automatically reformat libinstaller/syslinux.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 'libinstaller')
-rw-r--r--libinstaller/syslinux.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libinstaller/syslinux.h b/libinstaller/syslinux.h
index efffb7c0..f8f25190 100644
--- a/libinstaller/syslinux.h
+++ b/libinstaller/syslinux.h
@@ -18,16 +18,16 @@
/* The standard boot sector and ldlinux image */
extern unsigned char syslinux_bootsect[];
-extern unsigned int syslinux_bootsect_len;
-extern int syslinux_bootsect_mtime;
+extern unsigned int syslinux_bootsect_len;
+extern int syslinux_bootsect_mtime;
extern unsigned char syslinux_ldlinux[];
-extern unsigned int syslinux_ldlinux_len;
-extern int syslinux_ldlinux_mtime;
+extern unsigned int syslinux_ldlinux_len;
+extern int syslinux_ldlinux_mtime;
extern unsigned char syslinux_mbr[];
-extern unsigned int syslinux_mbr_len;
-extern int syslinux_mbr_mtime;
+extern unsigned int syslinux_mbr_len;
+extern int syslinux_mbr_mtime;
/* This takes a boot sector and merges in the syslinux fields */
void syslinux_make_bootsect(void *);
@@ -36,13 +36,13 @@ void syslinux_make_bootsect(void *);
const char *syslinux_check_bootsect(const void *bs);
/* This patches the boot sector and ldlinux.sys based on a sector map */
-int syslinux_patch(const uint32_t *sectors, int nsectors,
+int syslinux_patch(const uint32_t * sectors, int nsectors,
int stupid, int raid_mode);
/* ADV information */
-#define ADV_SIZE 512 /* Total size */
-#define ADV_LEN (ADV_SIZE-3*4) /* Usable data size */
-extern unsigned char syslinux_adv[2*ADV_SIZE];
+#define ADV_SIZE 512 /* Total size */
+#define ADV_LEN (ADV_SIZE-3*4) /* Usable data size */
+extern unsigned char syslinux_adv[2 * ADV_SIZE];
int syslinux_setadv(int tag, size_t size, const void *data);
void syslinux_reset_adv(unsigned char *advbuf);