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



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

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

diffstat:

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

diffs (27 lines):

diff -r 175e18cc07ca -r ebb8acbb09e4 sys/dev/raidframe/rf_dag.h
--- a/sys/dev/raidframe/rf_dag.h        Fri Jun 17 13:35:37 2005 +0000
+++ b/sys/dev/raidframe/rf_dag.h        Fri Jun 17 13:35:43 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_dag.h,v 1.17 2005/02/27 00:27:44 perry Exp $        */
+/*     $NetBSD: rf_dag.h,v 1.17.2.1 2005/06/17 13:35:43 tron Exp $     */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -125,7 +125,7 @@
                                 * walks */
        /* ANY CODE THAT USES THIS FIELD MUST MAINTAIN THE PROPERTY THAT AFTER
         * IT FINISHES, ALL VISITED FLAGS IN THE DAG ARE IDENTICAL */
-       char   *name;           /* debug only */
+       const char   *name;     /* debug only */
        RF_DagNodeFlags_t flags;/* see below */
        RF_DagNode_t *big_dag_ptrs;  /* used in cases where the cache below isn't big enough */
        RF_DagParam_t *big_dag_params; /* used when the cache below isn't big enough */
@@ -171,7 +171,7 @@
        void    (*cbFunc) (void *);     /* function to call when the dag
                                         * completes */
        void   *cbArg;          /* argument for cbFunc */
-       char   *creator;        /* name of function used to create this dag */
+       const char   *creator;  /* name of function used to create this dag */
        RF_DagNode_t *nodes;    /* linked list of nodes used in this DAG */
        RF_PhysDiskAddr_t *pda_cleanup_list; /* for PDAs that can't get
                                                cleaned up any other way... */



Home | Main Index | Thread Index | Old Index