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 Remove (void *) casts added to NULL.



details:   https://anonhg.NetBSD.org/src/rev/b019c782c9f5
branches:  trunk
changeset: 572375:b019c782c9f5
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jan 01 04:00:25 2005 +0000

description:
Remove (void *) casts added to NULL.

diffstat:

 sys/arch/arc/arc/c_nec_jazz.c     |  6 +++---
 sys/arch/arc/arc/p_acer_pica_61.c |  6 +++---
 sys/arch/arc/arc/p_ms_jazz.c      |  6 +++---
 sys/arch/arc/arc/p_nec_jc94.c     |  6 +++---
 sys/arch/arc/arc/p_nec_r94.c      |  6 +++---
 5 files changed, 15 insertions(+), 15 deletions(-)

diffs (135 lines):

diff -r 17889c44db68 -r b019c782c9f5 sys/arch/arc/arc/c_nec_jazz.c
--- a/sys/arch/arc/arc/c_nec_jazz.c     Sat Jan 01 03:25:46 2005 +0000
+++ b/sys/arch/arc/arc/c_nec_jazz.c     Sat Jan 01 04:00:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: c_nec_jazz.c,v 1.5 2003/07/15 00:04:41 lukem Exp $     */
+/*     $NetBSD: c_nec_jazz.c,v 1.6 2005/01/01 04:00:25 tsutsui Exp $   */
 
 /*-
  * Copyright (C) 2000 Shuichiro URATA.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: c_nec_jazz.c,v 1.5 2003/07/15 00:04:41 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: c_nec_jazz.c,v 1.6 2005/01/01 04:00:25 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -109,7 +109,7 @@
        {{ "pms",       7, 0, },        (void *)RD94_SYS_KBD, }, /* XXX */
        {{ "COM1",      8, 0, },        (void *)RD94_SYS_COM1, },
        {{ "COM2",      9, 0, },        (void *)RD94_SYS_COM2, },
-       {{ NULL,        -1, 0, },       (void *)NULL, },
+       {{ NULL,        -1, 0, },       NULL, },
 };
 
 void
diff -r 17889c44db68 -r b019c782c9f5 sys/arch/arc/arc/p_acer_pica_61.c
--- a/sys/arch/arc/arc/p_acer_pica_61.c Sat Jan 01 03:25:46 2005 +0000
+++ b/sys/arch/arc/arc/p_acer_pica_61.c Sat Jan 01 04:00:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p_acer_pica_61.c,v 1.6 2003/07/15 00:04:42 lukem Exp $ */
+/*     $NetBSD: p_acer_pica_61.c,v 1.7 2005/01/01 04:00:25 tsutsui Exp $       */
 /*     $OpenBSD: picabus.c,v 1.11 1999/01/11 05:11:10 millert Exp $    */
 
 /*
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: p_acer_pica_61.c,v 1.6 2003/07/15 00:04:42 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: p_acer_pica_61.c,v 1.7 2005/01/01 04:00:25 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <uvm/uvm_extern.h>
@@ -77,7 +77,7 @@
        {{ "pms",       7, 0, },        (void *)PICA_SYS_KBD, }, /* XXX */
        {{ "COM1",      8, 0, },        (void *)PICA_SYS_COM1, },
        {{ "COM2",      9, 0, },        (void *)PICA_SYS_COM2, },
-       {{ NULL,        -1, 0, },       (void *)NULL, },
+       {{ NULL,        -1, 0, },       NULL, },
 };
 
 /*
diff -r 17889c44db68 -r b019c782c9f5 sys/arch/arc/arc/p_ms_jazz.c
--- a/sys/arch/arc/arc/p_ms_jazz.c      Sat Jan 01 03:25:46 2005 +0000
+++ b/sys/arch/arc/arc/p_ms_jazz.c      Sat Jan 01 04:00:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p_ms_jazz.c,v 1.5 2003/07/15 00:04:43 lukem Exp $      */
+/*     $NetBSD: p_ms_jazz.c,v 1.6 2005/01/01 04:00:25 tsutsui Exp $    */
 /*     $OpenBSD: picabus.c,v 1.11 1999/01/11 05:11:10 millert Exp $    */
 
 /*
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: p_ms_jazz.c,v 1.5 2003/07/15 00:04:43 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: p_ms_jazz.c,v 1.6 2005/01/01 04:00:25 tsutsui Exp $");
 
 #include <sys/param.h>
 
@@ -86,7 +86,7 @@
        {{ "pms",       7, 0, },        (void *)PICA_SYS_KBD, }, /* XXX */
        {{ "COM1",      8, 0, },        (void *)PICA_SYS_COM1, },
        {{ "COM2",      9, 0, },        (void *)PICA_SYS_COM2, },
-       {{ NULL,        -1, 0, },       (void *)NULL, },
+       {{ NULL,        -1, 0, },       NULL, },
 };
 
 /*
diff -r 17889c44db68 -r b019c782c9f5 sys/arch/arc/arc/p_nec_jc94.c
--- a/sys/arch/arc/arc/p_nec_jc94.c     Sat Jan 01 03:25:46 2005 +0000
+++ b/sys/arch/arc/arc/p_nec_jc94.c     Sat Jan 01 04:00:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p_nec_jc94.c,v 1.3 2003/07/15 00:04:43 lukem Exp $     */
+/*     $NetBSD: p_nec_jc94.c,v 1.4 2005/01/01 04:00:25 tsutsui Exp $   */
 
 /*
  * Copyright (c) 2001 Izumi Tsutsui.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: p_nec_jc94.c,v 1.3 2003/07/15 00:04:43 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: p_nec_jc94.c,v 1.4 2005/01/01 04:00:25 tsutsui Exp $");
 
 #include <sys/param.h>
 
@@ -71,7 +71,7 @@
        {{ "pms",       7, 0, },        (void *)RD94_SYS_KBD, }, /* XXX */
        {{ "COM1",      8, 0, },        (void *)RD94_SYS_COM1, },
        {{ "COM2",      9, 0, },        (void *)RD94_SYS_COM2, },
-       {{ NULL,        -1, 0, },       (void *)NULL, },
+       {{ NULL,        -1, 0, },       NULL, },
 };
 
 /*
diff -r 17889c44db68 -r b019c782c9f5 sys/arch/arc/arc/p_nec_r94.c
--- a/sys/arch/arc/arc/p_nec_r94.c      Sat Jan 01 03:25:46 2005 +0000
+++ b/sys/arch/arc/arc/p_nec_r94.c      Sat Jan 01 04:00:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p_nec_r94.c,v 1.4 2003/07/15 00:04:43 lukem Exp $      */
+/*     $NetBSD: p_nec_r94.c,v 1.5 2005/01/01 04:00:25 tsutsui Exp $    */
 
 /*-
  * Copyright (C) 2000 Shuichiro URATA.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: p_nec_r94.c,v 1.4 2003/07/15 00:04:43 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: p_nec_r94.c,v 1.5 2005/01/01 04:00:25 tsutsui Exp $");
 
 #include <sys/param.h>
 
@@ -69,7 +69,7 @@
        {{ "pms",       7, 0, },        (void *)RD94_SYS_KBD, }, /* XXX */
        {{ "COM1",      8, 0, },        (void *)RD94_SYS_COM1, },
        {{ "COM2",      9, 0, },        (void *)RD94_SYS_COM2, },
-       {{ NULL,        -1, 0, },       (void *)NULL, },
+       {{ NULL,        -1, 0, },       NULL, },
 };
 
 /*



Home | Main Index | Thread Index | Old Index