Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Remove a local declaration shadowing th...



details:   https://anonhg.NetBSD.org/src/rev/74be491d127d
branches:  trunk
changeset: 526302:74be491d127d
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 02 13:01:45 2002 +0000

description:
Remove a local declaration shadowing the global "int statint", thus
preventing the latter to be initialized properly.

Patch from adam%lebsack.com@localhost in PR 16608.

diffstat:

 sys/arch/sparc/sparc/clock.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4a382b9bded2 -r 74be491d127d sys/arch/sparc/sparc/clock.c
--- a/sys/arch/sparc/sparc/clock.c      Thu May 02 12:44:31 2002 +0000
+++ b/sys/arch/sparc/sparc/clock.c      Thu May 02 13:01:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock.c,v 1.88 2002/03/28 11:54:17 pk Exp $ */
+/*     $NetBSD: clock.c,v 1.89 2002/05/02 13:01:45 martin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -190,7 +190,7 @@
 void
 cpu_initclocks()
 {
-       int statint, minint;
+       int minint;
 
        if (1000000 % hz) {
                printf("cannot get %d Hz clock; using 100 Hz\n", hz);



Home | Main Index | Thread Index | Old Index