Run Nindent on com32/lib/syslinux/dump_movelist.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/dump_movelist.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/dump_movelist.c

index d0b19b9..282d006 100644 (file)
 #include <stdio.h>
 #include <syslinux/movebits.h>
 
-void syslinux_dump_movelist(FILE *file, struct syslinux_movelist *ml)
+void syslinux_dump_movelist(FILE * file, struct syslinux_movelist *ml)
 {
-  fprintf(file, "%10s %10s %10s\n"
-         "--------------------------------\n",
-         "Dest", "Src", "Length");
-  while (ml) {
-    fprintf(file, "0x%08x 0x%08x 0x%08x\n", ml->dst, ml->src, ml->len);
-    ml = ml->next;
-  }
+    fprintf(file, "%10s %10s %10s\n"
+           "--------------------------------\n", "Dest", "Src", "Length");
+    while (ml) {
+       fprintf(file, "0x%08x 0x%08x 0x%08x\n", ml->dst, ml->src, ml->len);
+       ml = ml->next;
+    }
 }