Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/ifpga Fix shaddowed declaration.
details: https://anonhg.NetBSD.org/src/rev/afbca1ee6886
branches: trunk
changeset: 581732:afbca1ee6886
user: rearnsha <rearnsha%NetBSD.org@localhost>
date: Sat Jun 04 13:35:05 2005 +0000
description:
Fix shaddowed declaration.
diffstat:
sys/arch/evbarm/ifpga/ifpga_clock.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 3f1956f0ed48 -r afbca1ee6886 sys/arch/evbarm/ifpga/ifpga_clock.c
--- a/sys/arch/evbarm/ifpga/ifpga_clock.c Sat Jun 04 12:17:45 2005 +0000
+++ b/sys/arch/evbarm/ifpga/ifpga_clock.c Sat Jun 04 13:35:05 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifpga_clock.c,v 1.7 2003/09/06 11:31:21 rearnsha Exp $ */
+/* $NetBSD: ifpga_clock.c,v 1.8 2005/06/04 13:35:05 rearnsha Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@@ -39,7 +39,7 @@
/* Include header files */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ifpga_clock.c,v 1.7 2003/09/06 11:31:21 rearnsha Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ifpga_clock.c,v 1.8 2005/06/04 13:35:05 rearnsha Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -198,9 +198,9 @@
*/
void
-setstatclockrate(int hz)
+setstatclockrate(int new_hz)
{
- if (hz == stathz)
+ if (new_hz == stathz)
timer2min = statmin;
else
timer2min = profmin;
Home |
Main Index |
Thread Index |
Old Index