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.13 (requested by ost...
details: https://anonhg.NetBSD.org/src/rev/7382a267c6d9
branches: netbsd-3
changeset: 576257:7382a267c6d9
user: tron <tron%NetBSD.org@localhost>
date: Fri Jun 17 13:35:24 2005 +0000
description:
Pull up revision 1.13 (requested by oster in ticket #472):
- avoid variable shadowing
- add a lot of const
- remove parameters from function declarations
diffstat:
sys/dev/raidframe/rf_disks.h | 27 +++++++++++----------------
1 files changed, 11 insertions(+), 16 deletions(-)
diffs (39 lines):
diff -r a963c0887d3d -r 7382a267c6d9 sys/dev/raidframe/rf_disks.h
--- a/sys/dev/raidframe/rf_disks.h Fri Jun 17 13:35:17 2005 +0000
+++ b/sys/dev/raidframe/rf_disks.h Fri Jun 17 13:35:24 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_disks.h,v 1.12 2005/02/27 00:27:44 perry Exp $ */
+/* $NetBSD: rf_disks.h,v 1.12.2.1 2005/06/17 13:35:24 tron Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -44,19 +44,14 @@
((_dstat_) == rf_ds_reconstructing) || ((_dstat_) == rf_ds_failed) || \
((_dstat_) == rf_ds_dist_spared))
-int rf_ConfigureDisks(RF_ShutdownList_t ** listp, RF_Raid_t * raidPtr,
- RF_Config_t * cfgPtr);
-int rf_ConfigureSpareDisks(RF_ShutdownList_t ** listp, RF_Raid_t * raidPtr,
- RF_Config_t * cfgPtr);
-int rf_ConfigureDisk(RF_Raid_t * raidPtr, char *buf, RF_RaidDisk_t * diskPtr,
- RF_RowCol_t col);
-int rf_AutoConfigureDisks(RF_Raid_t *raidPtr, RF_Config_t *cfgPtr,
- RF_AutoConfig_t *auto_config);
-int rf_CheckLabels( RF_Raid_t *, RF_Config_t *);
-int rf_add_hot_spare(RF_Raid_t *raidPtr, RF_SingleComponent_t *sparePtr);
-int rf_remove_hot_spare(RF_Raid_t *raidPtr, RF_SingleComponent_t *sparePtr);
-int rf_delete_component(RF_Raid_t *raidPtr, RF_SingleComponent_t *component);
-int rf_incorporate_hot_spare(RF_Raid_t *raidPtr,
- RF_SingleComponent_t *component);
+int rf_ConfigureDisks(RF_ShutdownList_t **, RF_Raid_t *, RF_Config_t *);
+int rf_ConfigureSpareDisks(RF_ShutdownList_t **, RF_Raid_t *, RF_Config_t *);
+int rf_ConfigureDisk(RF_Raid_t *, char *, RF_RaidDisk_t *, RF_RowCol_t);
+int rf_AutoConfigureDisks(RF_Raid_t *, RF_Config_t *, RF_AutoConfig_t *);
+int rf_CheckLabels(RF_Raid_t *, RF_Config_t *);
+int rf_add_hot_spare(RF_Raid_t *, RF_SingleComponent_t *);
+int rf_remove_hot_spare(RF_Raid_t *, RF_SingleComponent_t *);
+int rf_delete_component(RF_Raid_t *r, RF_SingleComponent_t *);
+int rf_incorporate_hot_spare(RF_Raid_t *, RF_SingleComponent_t *);
-#endif /* !_RF__RF_DISKS_H_ */
+#endif /* !_RF__RF_DISKS_H_ */
Home |
Main Index |
Thread Index |
Old Index