Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/dev Placate -Wshadow



details:   https://anonhg.NetBSD.org/src/rev/d8678a4dafa6
branches:  trunk
changeset: 581602:d8678a4dafa6
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jun 03 08:45:47 2005 +0000

description:
Placate -Wshadow

diffstat:

 sys/arch/mvme68k/dev/clock_pcc.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 465f3cf35b18 -r d8678a4dafa6 sys/arch/mvme68k/dev/clock_pcc.c
--- a/sys/arch/mvme68k/dev/clock_pcc.c  Fri Jun 03 08:45:08 2005 +0000
+++ b/sys/arch/mvme68k/dev/clock_pcc.c  Fri Jun 03 08:45:47 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock_pcc.c,v 1.14 2003/07/15 02:43:46 lukem Exp $     */
+/*     $NetBSD: clock_pcc.c,v 1.15 2005/06/03 08:45:47 scw Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock_pcc.c,v 1.14 2003/07/15 02:43:46 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock_pcc.c,v 1.15 2005/06/03 08:45:47 scw Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -139,21 +139,21 @@
 }
 
 void
-clock_pcc_initclocks(arg, proftick, stattick)
+clock_pcc_initclocks(arg, prof_us, stat_us)
        void *arg;
-       int proftick;
-       int stattick;
+       int prof_us;
+       int stat_us;
 {
        struct clock_pcc_softc *sc = arg;
 
        pcc_reg_write16(sys_pcc, PCCREG_TMR1_PRELOAD,
-           pcc_timer_us2lim(proftick));
+           pcc_timer_us2lim(prof_us));
        pcc_reg_write(sys_pcc, PCCREG_TMR1_CONTROL, PCC_TIMERCLEAR);
        pcc_reg_write(sys_pcc, PCCREG_TMR1_CONTROL, PCC_TIMERSTART);
        pcc_reg_write(sys_pcc, PCCREG_TMR1_INTR_CTRL, sc->sc_clock_lvl);
 
        pcc_reg_write16(sys_pcc, PCCREG_TMR2_PRELOAD,
-           pcc_timer_us2lim(stattick));
+           pcc_timer_us2lim(stat_us));
        pcc_reg_write(sys_pcc, PCCREG_TMR2_CONTROL, PCC_TIMERCLEAR);
        pcc_reg_write(sys_pcc, PCCREG_TMR2_CONTROL, PCC_TIMERSTART);
        pcc_reg_write(sys_pcc, PCCREG_TMR2_INTR_CTRL, sc->sc_clock_lvl);



Home | Main Index | Thread Index | Old Index