summaryrefslogtreecommitdiff
path: root/com32/lib/syslinux
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:27 -0700
commit29d949079c63e8e53870b99e90c91624e3a6ee34 (patch)
tree7a49da43fbc07e5637131c1388b77b21068f64b7 /com32/lib/syslinux
parent4b479e8559740a307349f690f851a7d2bf7965ae (diff)
downloadsyslinux-29d949079c63e8e53870b99e90c91624e3a6ee34.tar.gz
Run Nindent on com32/lib/syslinux/reboot.c
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>
Diffstat (limited to 'com32/lib/syslinux')
-rw-r--r--com32/lib/syslinux/reboot.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/com32/lib/syslinux/reboot.c b/com32/lib/syslinux/reboot.c
index 49b370e5..2e3eb2b0 100644
--- a/com32/lib/syslinux/reboot.c
+++ b/com32/lib/syslinux/reboot.c
@@ -37,11 +37,11 @@
__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");
}