From 29d949079c63e8e53870b99e90c91624e3a6ee34 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:27 -0700 Subject: 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 --- com32/lib/syslinux/reboot.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'com32/lib/syslinux') 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"); } -- cgit v1.2.1