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.46 (requested by ost...



details:   https://anonhg.NetBSD.org/src/rev/f77105c624ed
branches:  netbsd-3
changeset: 576253:f77105c624ed
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Jun 17 13:34:58 2005 +0000

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

diffstat:

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

diffs (27 lines):

diff -r 20e301a3f8ca -r f77105c624ed sys/dev/raidframe/rf_dagutils.c
--- a/sys/dev/raidframe/rf_dagutils.c   Fri Jun 17 13:34:50 2005 +0000
+++ b/sys/dev/raidframe/rf_dagutils.c   Fri Jun 17 13:34:58 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_dagutils.c,v 1.45 2005/02/27 00:27:44 perry Exp $   */
+/*     $NetBSD: rf_dagutils.c,v 1.45.2.1 2005/06/17 13:34:58 tron Exp $        */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -33,7 +33,7 @@
  *****************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagutils.c,v 1.45 2005/02/27 00:27:44 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagutils.c,v 1.45.2.1 2005/06/17 13:34:58 tron Exp $");
 
 #include <dev/raidframe/raidframevar.h>
 
@@ -95,7 +95,7 @@
     int (*undoFunc) (RF_DagNode_t *node),
     int (*wakeFunc) (RF_DagNode_t *node, int status),
     int nSucc, int nAnte, int nParam, int nResult,
-    RF_DagHeader_t *hdr, char *name, RF_AllocListElem_t *alist)
+    RF_DagHeader_t *hdr, const char *name, RF_AllocListElem_t *alist)
 {
        void  **ptrs;
        int     nptrs;



Home | Main Index | Thread Index | Old Index