Run Nindent on com32/lib/syslinux/features.c
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:26 +0000 (15:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:26 +0000 (15:10 -0700)
Automatically reformat com32/lib/syslinux/features.c 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>
com32/lib/syslinux/features.c

index b4d79f7..c88aef3 100644 (file)
@@ -40,12 +40,12 @@ struct __syslinux_feature_flags __syslinux_feature_flags;
 
 void __constructor __syslinux_detect_features(void)
 {
-  static com32sys_t reg;
+    static com32sys_t reg;
 
-  memset(&reg, 0, sizeof reg);
-  reg.eax.w[0] = 0x0015;
-  __intcall(0x22, &reg, &reg);
+    memset(&reg, 0, sizeof reg);
+    reg.eax.w[0] = 0x0015;
+    __intcall(0x22, &reg, &reg);
 
-  __syslinux_feature_flags.len = reg.ecx.w[0];
-  __syslinux_feature_flags.ptr = MK_PTR(reg.es, reg.ebx.w[0]);
+    __syslinux_feature_flags.len = reg.ecx.w[0];
+    __syslinux_feature_flags.ptr = MK_PTR(reg.es, reg.ebx.w[0]);
 }