Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/arc More ansify and KNF.



details:   https://anonhg.NetBSD.org/src/rev/38fe832c8cec
branches:  trunk
changeset: 573215:38fe832c8cec
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jan 22 07:56:28 2005 +0000

description:
More ansify and KNF.

diffstat:

 sys/arch/arc/arc/c_jazz_eisa.c |  5 +++--
 sys/arch/arc/arc/c_magnum.c    |  9 ++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 99be9ee3ea6e -r 38fe832c8cec sys/arch/arc/arc/c_jazz_eisa.c
--- a/sys/arch/arc/arc/c_jazz_eisa.c    Sat Jan 22 07:44:33 2005 +0000
+++ b/sys/arch/arc/arc/c_jazz_eisa.c    Sat Jan 22 07:56:28 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: c_jazz_eisa.c,v 1.9 2005/01/22 07:35:33 tsutsui Exp $  */
+/*     $NetBSD: c_jazz_eisa.c,v 1.10 2005/01/22 07:56:28 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1998
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: c_jazz_eisa.c,v 1.9 2005/01/22 07:35:33 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: c_jazz_eisa.c,v 1.10 2005/01/22 07:56:28 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -142,6 +142,7 @@
 void
 c_jazz_eisa_cons_init(void)
 {
+
        if (!com_console) {
 
 #if NRASDISPLAY_JAZZIO > 0
diff -r 99be9ee3ea6e -r 38fe832c8cec sys/arch/arc/arc/c_magnum.c
--- a/sys/arch/arc/arc/c_magnum.c       Sat Jan 22 07:44:33 2005 +0000
+++ b/sys/arch/arc/arc/c_magnum.c       Sat Jan 22 07:56:28 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: c_magnum.c,v 1.7 2005/01/22 07:35:33 tsutsui Exp $     */
+/*     $NetBSD: c_magnum.c,v 1.8 2005/01/22 07:56:28 tsutsui Exp $     */
 /*     $OpenBSD: machdep.c,v 1.36 1999/05/22 21:22:19 weingart Exp $   */
 
 /*
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: c_magnum.c,v 1.7 2005/01/22 07:35:33 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: c_magnum.c,v 1.8 2005/01/22 07:56:28 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -165,9 +165,7 @@
 };
 
 int
-timer_magnum_intr(mask, cf)
-       u_int mask;
-       struct clockframe *cf;
+timer_magnum_intr(u_int mask, struct clockframe *cf)
 {
        int temp;
 
@@ -183,6 +181,7 @@
 void
 timer_magnum_init(int interval)
 {
+
        if (interval <= 0)
                panic("timer_magnum_init: invalid interval %d", interval);
 



Home | Main Index | Thread Index | Old Index