Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netisdn Rename a shadowed variable
details: https://anonhg.NetBSD.org/src/rev/cadc9cfe8b32
branches: trunk
changeset: 582019:cadc9cfe8b32
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Jun 13 20:34:16 2005 +0000
description:
Rename a shadowed variable
diffstat:
sys/netisdn/i4b_ipr.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r 5389b7cb10e1 -r cadc9cfe8b32 sys/netisdn/i4b_ipr.c
--- a/sys/netisdn/i4b_ipr.c Mon Jun 13 20:33:53 2005 +0000
+++ b/sys/netisdn/i4b_ipr.c Mon Jun 13 20:34:16 2005 +0000
@@ -27,7 +27,7 @@
* i4b_ipr.c - isdn4bsd IP over raw HDLC ISDN network driver
* ---------------------------------------------------------
*
- * $Id: i4b_ipr.c,v 1.17 2005/02/26 22:39:49 perry Exp $
+ * $Id: i4b_ipr.c,v 1.18 2005/06/13 20:34:16 jmc Exp $
*
* $FreeBSD$
*
@@ -59,7 +59,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_ipr.c,v 1.17 2005/02/26 22:39:49 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_ipr.c,v 1.18 2005/06/13 20:34:16 jmc Exp $");
#include "irip.h"
#include "opt_irip.h"
@@ -818,16 +818,16 @@
if(sc->sc_cdp->isdntxdelay > 0)
{
- int delay;
+ int xdelay;
if (hz == 100) {
- delay = sc->sc_cdp->isdntxdelay; /* avoid any rounding */
+ xdelay = sc->sc_cdp->isdntxdelay; /* avoid any rounding */
} else {
- delay = sc->sc_cdp->isdntxdelay*hz;
- delay /= 100;
+ xdelay = sc->sc_cdp->isdntxdelay*hz;
+ xdelay /= 100;
}
- START_TIMER(sc->sc_callout, (TIMEOUT_FUNC_T)i4bipr_connect_startio, (void *)sc, delay);
+ START_TIMER(sc->sc_callout, (TIMEOUT_FUNC_T)i4bipr_connect_startio, (void *)sc, xdelay);
}
else
{
Home |
Main Index |
Thread Index |
Old Index