Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ddb KNF: The function type must be declared on a line by...



details:   https://anonhg.NetBSD.org/src/rev/43c2cfe91a86
branches:  trunk
changeset: 988275:43c2cfe91a86
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Oct 06 12:18:20 2021 +0000

description:
KNF: The function type must be declared on a line by itself.

diffstat:

 sys/ddb/db_panic.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b71e4022e28f -r 43c2cfe91a86 sys/ddb/db_panic.c
--- a/sys/ddb/db_panic.c        Wed Oct 06 12:14:51 2021 +0000
+++ b/sys/ddb/db_panic.c        Wed Oct 06 12:18:20 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_panic.c,v 1.10 2021/07/20 11:39:16 christos Exp $   */
+/*     $NetBSD: db_panic.c,v 1.11 2021/10/06 12:18:20 uwe Exp $        */
 
 /*-
  * Copyright (c) 2000, 2002, 2006, 2007, 2009, 2013 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_panic.c,v 1.10 2021/07/20 11:39:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_panic.c,v 1.11 2021/10/06 12:18:20 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -41,7 +41,8 @@
  * kernel debugger; may just return so that panic() will continue to
  * halt or reboot the system.
  */
-void db_panic(void)
+void
+db_panic(void)
 {
 
        if (db_dumpstack > 0) {



Home | Main Index | Thread Index | Old Index