summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-26 00:24:25 +0000
committerbde <bde@FreeBSD.org>1997-08-26 00:24:25 +0000
commitcd40f0f0299c5b2ccd6279891aaeb1ab368718df (patch)
treecf45fd3bdfade0d0c7abada2190e981c6bb5cc07 /sys/kern/kern_shutdown.c
parent91d3d7f428cdb1bbd202db0205377bdd674438d2 (diff)
downloadFreeBSD-src-cd40f0f0299c5b2ccd6279891aaeb1ab368718df.zip
FreeBSD-src-cd40f0f0299c5b2ccd6279891aaeb1ab368718df.tar.gz
Fixed some formatting and style bugs.
Fixed a gratuitous ANSIism.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r--sys/kern/kern_shutdown.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index 5f809a0..167b86e 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
- * $Id: kern_shutdown.c,v 1.18 1997/08/09 01:25:53 julian Exp $
+ * $Id: kern_shutdown.c,v 1.19 1997/08/09 01:44:19 julian Exp $
*/
#include "opt_ddb.h"
@@ -78,18 +78,16 @@
*/
#include <machine/stdarg.h>
-#if defined(DDB)
+#ifdef DDB
#ifdef DDB_UNATTENDED
- static int debugger_on_panic = 0;
+static int debugger_on_panic = 0;
#else
- static int debugger_on_panic = 1;
+static int debugger_on_panic = 1;
#endif
-
SYSCTL_INT(_debug, OID_AUTO, debugger_on_panic, CTLFLAG_RW,
&debugger_on_panic, 0, "");
#endif
-
#ifdef HW_WDOG
/*
* If there is a hardware watchdog, point this at the function needed to
@@ -155,7 +153,7 @@ reboot(p, uap, retval)
* Called by events that want to shut down.. e.g <CTL><ALT><DEL> on a PC
*/
void
-shutdown_nice(void)
+shutdown_nice()
{
/* Send a signal to init(8) and have it shutdown the world */
if (initproc != NULL) {
OpenPOWER on IntegriCloud