From 583a9c965626bb7e298bfce2a75f8db9329a19bb Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:33 -0700 Subject: [PATCH] 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 --- libinstaller/syslinux.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libinstaller/syslinux.h b/libinstaller/syslinux.h index efffb7c..f8f2519 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); -- 2.7.4