Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/news68k/news68k Some KNF.



details:   https://anonhg.NetBSD.org/src/rev/86802901e4ae
branches:  trunk
changeset: 764998:86802901e4ae
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun May 15 16:51:09 2011 +0000

description:
Some KNF.

diffstat:

 sys/arch/news68k/news68k/machdep.c |  26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diffs (63 lines):

diff -r 3401b2468e88 -r 86802901e4ae sys/arch/news68k/news68k/machdep.c
--- a/sys/arch/news68k/news68k/machdep.c        Sun May 15 16:16:08 2011 +0000
+++ b/sys/arch/news68k/news68k/machdep.c        Sun May 15 16:51:09 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.92 2011/05/10 14:41:55 tsutsui Exp $     */
+/*     $NetBSD: machdep.c,v 1.93 2011/05/15 16:51:09 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.92 2011/05/10 14:41:55 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.93 2011/05/15 16:51:09 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -307,16 +307,16 @@
 {
 
        sysctl_createv(clog, 0, NULL, NULL,
-                      CTLFLAG_PERMANENT,
-                      CTLTYPE_NODE, "machdep", NULL,
-                      NULL, 0, NULL, 0,
-                      CTL_MACHDEP, CTL_EOL);
+           CTLFLAG_PERMANENT,
+           CTLTYPE_NODE, "machdep", NULL,
+           NULL, 0, NULL, 0,
+           CTL_MACHDEP, CTL_EOL);
 
        sysctl_createv(clog, 0, NULL, NULL,
-                      CTLFLAG_PERMANENT,
-                      CTLTYPE_STRUCT, "console_device", NULL,
-                      sysctl_consdev, 0, NULL, sizeof(dev_t),
-                      CTL_MACHDEP, CPU_CONSDEV, CTL_EOL);
+           CTLFLAG_PERMANENT,
+           CTLTYPE_STRUCT, "console_device", NULL,
+           sysctl_consdev, 0, NULL, sizeof(dev_t),
+           CTL_MACHDEP, CPU_CONSDEV, CTL_EOL);
 }
 
 int    waittime = -1;
@@ -1027,8 +1027,8 @@
        dipsw &= ~SW_CONSOLE;
 
        switch (dipsw & SW_CONSOLE) {
-           default: /* XXX no fb support yet */
-           case 0:
+       default: /* XXX no fb support yet */
+       case 0:
                tty00_is_console = 1;
                cn_tab = &consdev_zs;
                (*cn_tab->cn_init)(cn_tab);
@@ -1036,7 +1036,7 @@
        }
 #if NKSYMS || defined(DDB) || defined(MODULAR)
        ksyms_addsyms_elf((int)esym - (int)&end - sizeof(Elf32_Ehdr),
-                   (void *)&end, esym);
+           (void *)&end, esym);
 #endif
 #ifdef DDB
        if (boothowto & RB_KDB)



Home | Main Index | Thread Index | Old Index