diff options
author | 2002-12-16 07:01:02 +0000 | |
---|---|---|
committer | 2002-12-16 07:01:02 +0000 | |
commit | 02be053e1228ba4c0a567701ded8cec05be5df63 (patch) | |
tree | 4810bcbe357aeb65b2f475f98fd7ce2f26089128 /sys/dev/raidframe/rf_reconutil.h | |
parent | typo; from Tor Houghton <torh@bogus.net> (diff) | |
download | wireguard-openbsd-02be053e1228ba4c0a567701ded8cec05be5df63.tar.xz wireguard-openbsd-02be053e1228ba4c0a567701ded8cec05be5df63.zip |
Major KNF. Incentive from Tedu
Diffstat (limited to 'sys/dev/raidframe/rf_reconutil.h')
-rw-r--r-- | sys/dev/raidframe/rf_reconutil.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/sys/dev/raidframe/rf_reconutil.h b/sys/dev/raidframe/rf_reconutil.h index 4c8d1b9924f..24051b05d63 100644 --- a/sys/dev/raidframe/rf_reconutil.h +++ b/sys/dev/raidframe/rf_reconutil.h @@ -1,5 +1,6 @@ -/* $OpenBSD: rf_reconutil.h,v 1.2 1999/02/16 00:03:24 niklas Exp $ */ +/* $OpenBSD: rf_reconutil.h,v 1.3 2002/12/16 07:01:05 tdeval Exp $ */ /* $NetBSD: rf_reconutil.h,v 1.3 1999/02/05 00:06:17 oster Exp $ */ + /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -27,26 +28,24 @@ * rights to redistribute these changes. */ -/************************************************************ - * rf_reconutil.h -- header file for reconstruction utilities - ************************************************************/ +/************************************************************** + * rf_reconutil.h -- Header file for reconstruction utilities. + **************************************************************/ -#ifndef _RF__RF_RECONUTIL_H_ -#define _RF__RF_RECONUTIL_H_ +#ifndef _RF__RF_RECONUTIL_H_ +#define _RF__RF_RECONUTIL_H_ #include "rf_types.h" #include "rf_reconstruct.h" -RF_ReconCtrl_t * -rf_MakeReconControl(RF_RaidReconDesc_t * reconDesc, - RF_RowCol_t frow, RF_RowCol_t fcol, RF_RowCol_t srow, RF_RowCol_t scol); -void rf_FreeReconControl(RF_Raid_t * raidPtr, RF_RowCol_t row); -RF_HeadSepLimit_t rf_GetDefaultHeadSepLimit(RF_Raid_t * raidPtr); -int rf_GetDefaultNumFloatingReconBuffers(RF_Raid_t * raidPtr); -RF_ReconBuffer_t * -rf_MakeReconBuffer(RF_Raid_t * raidPtr, RF_RowCol_t row, - RF_RowCol_t col, RF_RbufType_t type); -void rf_FreeReconBuffer(RF_ReconBuffer_t * rbuf); -void rf_CheckFloatingRbufCount(RF_Raid_t * raidPtr, int dolock); +RF_ReconCtrl_t *rf_MakeReconControl(RF_RaidReconDesc_t *, + RF_RowCol_t, RF_RowCol_t, RF_RowCol_t, RF_RowCol_t); +void rf_FreeReconControl(RF_Raid_t *, RF_RowCol_t); +RF_HeadSepLimit_t rf_GetDefaultHeadSepLimit(RF_Raid_t *); +int rf_GetDefaultNumFloatingReconBuffers(RF_Raid_t *); +RF_ReconBuffer_t *rf_MakeReconBuffer(RF_Raid_t *, + RF_RowCol_t, RF_RowCol_t, RF_RbufType_t); +void rf_FreeReconBuffer(RF_ReconBuffer_t *); +void rf_CheckFloatingRbufCount(RF_Raid_t *, int); -#endif /* !_RF__RF_RECONUTIL_H_ */ +#endif /* !_RF__RF_RECONUTIL_H_ */ |