Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cesfic Cast to (void *) to appease gcc3.



details:   https://anonhg.NetBSD.org/src/rev/730aeaa8eff6
branches:  trunk
changeset: 552633:730aeaa8eff6
user:      cl <cl%NetBSD.org@localhost>
date:      Sun Sep 28 22:00:26 2003 +0000

description:
Cast to (void *) to appease gcc3.

diffstat:

 sys/arch/cesfic/cesfic/clock.c |  6 +++---
 sys/arch/cesfic/dev/if_le.c    |  8 ++++----
 sys/arch/cesfic/dev/zs_pcc.c   |  6 +++---
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (83 lines):

diff -r 5b0825deb0f0 -r 730aeaa8eff6 sys/arch/cesfic/cesfic/clock.c
--- a/sys/arch/cesfic/cesfic/clock.c    Sun Sep 28 21:22:45 2003 +0000
+++ b/sys/arch/cesfic/cesfic/clock.c    Sun Sep 28 22:00:26 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.2 2003/07/15 01:29:19 lukem Exp $ */
+/* $NetBSD: clock.c,v 1.3 2003/09/28 22:00:26 cl Exp $ */
 
 /*
  * Copyright (c) 1997, 1999
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.2 2003/07/15 01:29:19 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.3 2003/09/28 22:00:26 cl Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -41,7 +41,7 @@
 void
 cpu_initclocks()
 {
-       mainbus_map(0x5a000000, 0x1000, 0, (void **)&clockbase);
+       mainbus_map(0x5a000000, 0x1000, 0, (void *)&clockbase);
        sic_enable_int(25, 0, 1, 6, 0);
 }
 
diff -r 5b0825deb0f0 -r 730aeaa8eff6 sys/arch/cesfic/dev/if_le.c
--- a/sys/arch/cesfic/dev/if_le.c       Sun Sep 28 21:22:45 2003 +0000
+++ b/sys/arch/cesfic/dev/if_le.c       Sun Sep 28 22:00:26 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_le.c,v 1.4 2003/07/15 01:29:21 lukem Exp $  */
+/*     $NetBSD: if_le.c,v 1.5 2003/09/28 22:00:26 cl Exp $     */
 
 /*
  * Copyright (c) 1997, 1999
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.4 2003/07/15 01:29:21 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.5 2003/09/28 22:00:26 cl Exp $");
 
 #include "opt_inet.h"
 
@@ -115,8 +115,8 @@
        int i;
        struct lance_softc *sc = (struct lance_softc *)self;
 
-       mainbus_map(0x4c000000, 0x10000, 0, (void **)&lemembase);
-       mainbus_map(0x48000000, 0x1000, 0, (void **)&lebase);
+       mainbus_map(0x4c000000, 0x10000, 0, (void *)&lemembase);
+       mainbus_map(0x48000000, 0x1000, 0, (void *)&lebase);
 
        sc->sc_mem = lemembase;
        sc->sc_conf3 = LE_C3_BSWP;
diff -r 5b0825deb0f0 -r 730aeaa8eff6 sys/arch/cesfic/dev/zs_pcc.c
--- a/sys/arch/cesfic/dev/zs_pcc.c      Sun Sep 28 21:22:45 2003 +0000
+++ b/sys/arch/cesfic/dev/zs_pcc.c      Sun Sep 28 22:00:26 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs_pcc.c,v 1.4 2003/07/15 01:29:21 lukem Exp $ */
+/*     $NetBSD: zs_pcc.c,v 1.5 2003/09/28 22:00:26 cl Exp $    */
 
 /*
  * Copyright (c) 1997, 1999
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs_pcc.c,v 1.4 2003/07/15 01:29:21 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs_pcc.c,v 1.5 2003/09/28 22:00:26 cl Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -81,7 +81,7 @@
        static int didintr;
 
        if (!zsbase)
-               mainbus_map(0x58000000, 0x10000, 0, (void **)&zsbase);
+               mainbus_map(0x58000000, 0x10000, 0, (void *)&zsbase);
 
        /* Do common parts of SCC configuration. */
        zs_config(zsc, zsbase);



Home | Main Index | Thread Index | Old Index