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

index 49b370e..2e3eb2b 100644 (file)
 
 __noreturn syslinux_reboot(int warm)
 {
-  uint16_t * const reboot_flag = (uint16_t *)0x472;
+    uint16_t *const reboot_flag = (uint16_t *) 0x472;
 
-  *reboot_flag = warm ? 0x1234 : 0;
-  __farcall(0xf000, 0xfff0, &__com32_zero_regs, NULL);
+    *reboot_flag = warm ? 0x1234 : 0;
+    __farcall(0xf000, 0xfff0, &__com32_zero_regs, NULL);
 
-  while(1)
-    asm volatile("hlt");
+    while (1)
+       asm volatile ("hlt");
 }