Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/dev/raidframe Pull up revision 1.30 (requested by ost...



details:   https://anonhg.NetBSD.org/src/rev/7102b3f3930c
branches:  netbsd-3
changeset: 576262:7102b3f3930c
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Jun 17 13:35:56 2005 +0000

description:
Pull up revision 1.30 (requested by oster in ticket #472):
- avoid variable shadowing
- add a lot of const
- remove parameters from function declarations

diffstat:

 sys/dev/raidframe/rf_dagffwr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5acc14604159 -r 7102b3f3930c sys/dev/raidframe/rf_dagffwr.c
--- a/sys/dev/raidframe/rf_dagffwr.c    Fri Jun 17 13:35:50 2005 +0000
+++ b/sys/dev/raidframe/rf_dagffwr.c    Fri Jun 17 13:35:56 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_dagffwr.c,v 1.29 2005/02/27 00:27:44 perry Exp $    */
+/*     $NetBSD: rf_dagffwr.c,v 1.29.2.1 2005/06/17 13:35:56 tron Exp $ */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagffwr.c,v 1.29 2005/02/27 00:27:44 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagffwr.c,v 1.29.2.1 2005/06/17 13:35:56 tron Exp $");
 
 #include <dev/raidframe/raidframevar.h>
 
@@ -540,7 +540,7 @@
        int     numDataNodes, numParityNodes;
        RF_StripeNum_t parityStripeID;
        RF_PhysDiskAddr_t *pda;
-       char   *name, *qname;
+       const char *name, *qname;
        long    nfaults;
 
        nfaults = qfuncs ? 2 : 1;



Home | Main Index | Thread Index | Old Index