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

index 90ab840..3f1e340 100644 (file)
 #include <stdio.h>
 #include <syslinux/movebits.h>
 
-void syslinux_dump_memmap(FILE *file, struct syslinux_memmap *memmap)
+void syslinux_dump_memmap(FILE * file, struct syslinux_memmap *memmap)
 {
-  fprintf(file, "%10s %10s %10s\n"
-         "--------------------------------\n",
-         "Start", "Length", "Type");
-  while (memmap->next) {
-    fprintf(file, "0x%08x 0x%08x %10d\n", memmap->start,
-           memmap->next->start - memmap->start, memmap->type);
-    memmap = memmap->next;
-  }
+    fprintf(file, "%10s %10s %10s\n"
+           "--------------------------------\n", "Start", "Length", "Type");
+    while (memmap->next) {
+       fprintf(file, "0x%08x 0x%08x %10d\n", memmap->start,
+               memmap->next->start - memmap->start, memmap->type);
+       memmap = memmap->next;
+    }
 }