summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_alloclist.c
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2003-12-30 21:59:03 +0000
committeroster <oster@NetBSD.org>2003-12-30 21:59:03 +0000
commitc43fc67d7d55d1b19bc76f8ca37f7cbf8643787a (patch)
tree51cfd1fa23f4f7295017077af1e080cabc44d361 /sys/dev/raidframe/rf_alloclist.c
parent9f96807631fac86f7b95a1db6737736633168cd8 (diff)
Some days you wonder if some of the function declaration consistency
was just an accident in the first place. Cleanup function decls and a few comments. [ok.. so I wasn't going to fix this many.. but once you're on a roll....]
Diffstat (limited to 'sys/dev/raidframe/rf_alloclist.c')
-rw-r--r--sys/dev/raidframe/rf_alloclist.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/sys/dev/raidframe/rf_alloclist.c b/sys/dev/raidframe/rf_alloclist.c
index f3473a3fd26..443c758c28a 100644
--- a/sys/dev/raidframe/rf_alloclist.c
+++ b/sys/dev/raidframe/rf_alloclist.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_alloclist.c,v 1.14 2003/07/01 23:53:48 oster Exp $ */
+/* $NetBSD: rf_alloclist.c,v 1.15 2003/12/30 21:59:03 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -37,7 +37,7 @@
***************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_alloclist.c,v 1.14 2003/07/01 23:53:48 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_alloclist.c,v 1.15 2003/12/30 21:59:03 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -60,8 +60,7 @@ static int al_free_list_count;
static void rf_ShutdownAllocList(void *);
-static void rf_ShutdownAllocList(ignored)
- void *ignored;
+static void rf_ShutdownAllocList(void *ignored)
{
RF_AllocListElem_t *p, *pt;
@@ -78,8 +77,7 @@ static void rf_ShutdownAllocList(ignored)
}
int
-rf_ConfigureAllocList(listp)
- RF_ShutdownList_t **listp;
+rf_ConfigureAllocList(RF_ShutdownList_t **listp)
{
int rc;
@@ -99,10 +97,7 @@ rf_ConfigureAllocList(listp)
* increase POINTERS_PER_ALLOC_LIST_ELEMENT.
*/
void
-rf_real_AddToAllocList(l, p, size)
- RF_AllocListElem_t *l;
- void *p;
- int size;
+rf_real_AddToAllocList(RF_AllocListElem_t *l, void *p, int size)
{
RF_AllocListElem_t *newelem;
@@ -122,8 +117,7 @@ rf_real_AddToAllocList(l, p, size)
}
void
-rf_FreeAllocList(l)
- RF_AllocListElem_t *l;
+rf_FreeAllocList(RF_AllocListElem_t *l)
{
int i;
RF_AllocListElem_t *temp, *p;