Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe cleanup function prototypes.
details: https://anonhg.NetBSD.org/src/rev/901526d23d83
branches: trunk
changeset: 484154:901526d23d83
user: oster <oster%NetBSD.org@localhost>
date: Mon Mar 27 03:25:17 2000 +0000
description:
cleanup function prototypes.
diffstat:
sys/dev/raidframe/rf_disks.c | 13 +++++--------
sys/dev/raidframe/rf_disks.h | 3 ++-
2 files changed, 7 insertions(+), 9 deletions(-)
diffs (59 lines):
diff -r 988eaf402937 -r 901526d23d83 sys/dev/raidframe/rf_disks.c
--- a/sys/dev/raidframe/rf_disks.c Mon Mar 27 03:01:33 2000 +0000
+++ b/sys/dev/raidframe/rf_disks.c Mon Mar 27 03:25:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_disks.c,v 1.25 2000/03/26 22:38:29 oster Exp $ */
+/* $NetBSD: rf_disks.c,v 1.26 2000/03/27 03:25:17 oster Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -84,9 +84,11 @@
#include <sys/fcntl.h>
#include <sys/vnode.h>
-/* XXX these should be in a header file somewhere */
-int rf_CheckLabels( RF_Raid_t *, RF_Config_t *);
static int rf_AllocDiskStructures(RF_Raid_t *, RF_Config_t *);
+static void rf_print_label_status( RF_Raid_t *, int, int, char *,
+ RF_ComponentLabel_t *);
+static int rf_check_label_vitals( RF_Raid_t *, int, int, char *,
+ RF_ComponentLabel_t *, int, int );
#define DPRINTF6(a,b,c,d,e,f) if (rf_diskDebug) printf(a,b,c,d,e,f)
#define DPRINTF7(a,b,c,d,e,f,g) if (rf_diskDebug) printf(a,b,c,d,e,f,g)
@@ -621,9 +623,6 @@
return (0);
}
-static void rf_print_label_status( RF_Raid_t *, int, int, char *,
- RF_ComponentLabel_t *);
-
static void
rf_print_label_status( raidPtr, row, column, dev_name, ci_label )
RF_Raid_t *raidPtr;
@@ -645,8 +644,6 @@
ci_label->clean ? "Yes" : "No", ci_label->status );
}
-static int rf_check_label_vitals( RF_Raid_t *, int, int, char *,
- RF_ComponentLabel_t *, int, int );
static int rf_check_label_vitals( raidPtr, row, column, dev_name, ci_label,
serial_number, mod_counter )
RF_Raid_t *raidPtr;
diff -r 988eaf402937 -r 901526d23d83 sys/dev/raidframe/rf_disks.h
--- a/sys/dev/raidframe/rf_disks.h Mon Mar 27 03:01:33 2000 +0000
+++ b/sys/dev/raidframe/rf_disks.h Mon Mar 27 03:25:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_disks.h,v 1.7 2000/03/27 03:01:33 oster Exp $ */
+/* $NetBSD: rf_disks.h,v 1.8 2000/03/27 03:25:17 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -97,6 +97,7 @@
RF_RowCol_t row, 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);
Home |
Main Index |
Thread Index |
Old Index