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

index eec6ca4..4693e16 100644 (file)
 
 __noreturn syslinux_run_command(const char *command)
 {
-  static com32sys_t ireg;
+    static com32sys_t ireg;
 
-  strcpy(__com32.cs_bounce, command);
+    strcpy(__com32.cs_bounce, command);
 
-  ireg.eax.w[0] = 0x0003;
-  ireg.es = SEG(__com32.cs_bounce);
-  ireg.ebx.w[0] = OFFS(__com32.cs_bounce);
+    ireg.eax.w[0] = 0x0003;
+    ireg.es = SEG(__com32.cs_bounce);
+    ireg.ebx.w[0] = OFFS(__com32.cs_bounce);
 
-  __intcall(0x22, &ireg, NULL);
+    __intcall(0x22, &ireg, NULL);
 
-  /* Should not return even on failure */
-  for(;;);
+    /* Should not return even on failure */
+    for (;;) ;
 }