summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_memchunk.h
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2002-12-16 07:01:06 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2002-12-16 07:01:06 +0000
commit9f4f754a2c89fa0aae2495b9897832c871e55410 (patch)
tree990a42520130e4092662926e20b65536fa947a43 /sys/dev/raidframe/rf_memchunk.h
parentd18f950d8b18360863af577de1796c0079f4bc20 (diff)
Major KNF. Incentive from Tedu
Diffstat (limited to 'sys/dev/raidframe/rf_memchunk.h')
-rw-r--r--sys/dev/raidframe/rf_memchunk.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/sys/dev/raidframe/rf_memchunk.h b/sys/dev/raidframe/rf_memchunk.h
index d2585a48987..afd4555e63c 100644
--- a/sys/dev/raidframe/rf_memchunk.h
+++ b/sys/dev/raidframe/rf_memchunk.h
@@ -1,5 +1,6 @@
-/* $OpenBSD: rf_memchunk.h,v 1.2 1999/02/16 00:02:57 niklas Exp $ */
+/* $OpenBSD: rf_memchunk.h,v 1.3 2002/12/16 07:01:04 tdeval Exp $ */
/* $NetBSD: rf_memchunk.h,v 1.3 1999/02/05 00:06:13 oster Exp $ */
+
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -27,22 +28,22 @@
* rights to redistribute these changes.
*/
-/* header file for rf_memchunk.c. See comments there */
+/* Header file for rf_memchunk.c. See comments there. */
-#ifndef _RF__RF_MEMCHUNK_H_
-#define _RF__RF_MEMCHUNK_H_
+#ifndef _RF__RF_MEMCHUNK_H_
+#define _RF__RF_MEMCHUNK_H_
#include "rf_types.h"
struct RF_ChunkDesc_s {
- int size;
- int reuse_count;
- char *buf;
- RF_ChunkDesc_t *next;
+ int size;
+ int reuse_count;
+ char *buf;
+ RF_ChunkDesc_t *next;
};
-int rf_ConfigureMemChunk(RF_ShutdownList_t ** listp);
-RF_ChunkDesc_t *rf_GetMemChunk(int size);
-void rf_ReleaseMemChunk(RF_ChunkDesc_t * chunk);
+int rf_ConfigureMemChunk(RF_ShutdownList_t **);
+RF_ChunkDesc_t *rf_GetMemChunk(int);
+void rf_ReleaseMemChunk(RF_ChunkDesc_t *);
-#endif /* !_RF__RF_MEMCHUNK_H_ */
+#endif /* !_RF__RF_MEMCHUNK_H_ */