From 0aa2be726763692056815343537b87a7a150b47b Mon Sep 17 00:00:00 2001 From: murray Date: Fri, 14 Sep 2001 08:39:22 +0000 Subject: [PATCH] Whitespace change only. Use the same indention level throughout this file and add a blank line after variable declarations. Submitted by: jhb --- usr.sbin/sade/system.c | 23 ++++++++++++----------- usr.sbin/sysinstall/system.c | 23 ++++++++++++----------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c index dc3e83344f18..077cf82bc9c7 100644 --- a/usr.sbin/sade/system.c +++ b/usr.sbin/sade/system.c @@ -42,29 +42,29 @@ static pid_t ehs_pid; static int intr_continue(dialogMenuItem *self) { - return DITEM_LEAVE_MENU; + return DITEM_LEAVE_MENU; } static int intr_reboot(dialogMenuItem *self) { - systemShutdown(-1); - /* NOTREACHED */ - return 0; + systemShutdown(-1); + /* NOTREACHED */ + return 0; } static int intr_restart(dialogMenuItem *self) { - execl(StartName, StartName, (char *)NULL); - /* NOTREACHED */ - return -1; + execl(StartName, StartName, (char *)NULL); + /* NOTREACHED */ + return -1; } static dialogMenuItem intrmenu[] = { - { "Abort", "Abort the installation", NULL, intr_reboot }, - { "Restart", "Restart the installation program", NULL, intr_restart }, - { "Continue", "Continue the installation", NULL, intr_continue }, + { "Abort", "Abort the installation", NULL, intr_reboot }, + { "Restart", "Restart the installation program", NULL, intr_restart }, + { "Continue", "Continue the installation", NULL, intr_continue }, }; @@ -92,7 +92,8 @@ static void reap_children(int sig) { int errbak = errno; - while ( waitpid(-1, NULL, WNOHANG) > 0 ) + + while (waitpid(-1, NULL, WNOHANG) > 0) ; errno = errbak; } diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index dc3e83344f18..077cf82bc9c7 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/system.c @@ -42,29 +42,29 @@ static pid_t ehs_pid; static int intr_continue(dialogMenuItem *self) { - return DITEM_LEAVE_MENU; + return DITEM_LEAVE_MENU; } static int intr_reboot(dialogMenuItem *self) { - systemShutdown(-1); - /* NOTREACHED */ - return 0; + systemShutdown(-1); + /* NOTREACHED */ + return 0; } static int intr_restart(dialogMenuItem *self) { - execl(StartName, StartName, (char *)NULL); - /* NOTREACHED */ - return -1; + execl(StartName, StartName, (char *)NULL); + /* NOTREACHED */ + return -1; } static dialogMenuItem intrmenu[] = { - { "Abort", "Abort the installation", NULL, intr_reboot }, - { "Restart", "Restart the installation program", NULL, intr_restart }, - { "Continue", "Continue the installation", NULL, intr_continue }, + { "Abort", "Abort the installation", NULL, intr_reboot }, + { "Restart", "Restart the installation program", NULL, intr_restart }, + { "Continue", "Continue the installation", NULL, intr_continue }, }; @@ -92,7 +92,8 @@ static void reap_children(int sig) { int errbak = errno; - while ( waitpid(-1, NULL, WNOHANG) > 0 ) + + while (waitpid(-1, NULL, WNOHANG) > 0) ; errno = errbak; }