summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorcegger <cegger@NetBSD.org>2009-03-15 17:14:40 +0000
committercegger <cegger@NetBSD.org>2009-03-15 17:14:40 +0000
commitb8817e4aed928ed0e10796459301187172baedc8 (patch)
treed114523141a13b3aefdece5e1064c7bf50782d12 /sys/dev/raidframe
parent9f97ab946cec059a20cf239d8206e11ffa2fcdea (diff)
ansify function definitions
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_alloclist.c6
-rw-r--r--sys/dev/raidframe/rf_callback.c6
-rw-r--r--sys/dev/raidframe/rf_dagutils.c14
-rw-r--r--sys/dev/raidframe/rf_driver.c8
-rw-r--r--sys/dev/raidframe/rf_map.c16
-rw-r--r--sys/dev/raidframe/rf_mcpair.c6
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c6
-rw-r--r--sys/dev/raidframe/rf_options.c6
-rw-r--r--sys/dev/raidframe/rf_stripelocks.c6
9 files changed, 37 insertions, 37 deletions
diff --git a/sys/dev/raidframe/rf_alloclist.c b/sys/dev/raidframe/rf_alloclist.c
index 842517e16d6..9533973e6c1 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.25 2006/11/16 01:33:23 christos Exp $ */
+/* $NetBSD: rf_alloclist.c,v 1.26 2009/03/15 17:17:23 cegger 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.25 2006/11/16 01:33:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_alloclist.c,v 1.26 2009/03/15 17:17:23 cegger Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -120,7 +120,7 @@ rf_FreeAllocList(RF_AllocListElem_t *l)
}
RF_AllocListElem_t *
-rf_real_MakeAllocList()
+rf_real_MakeAllocList(void)
{
RF_AllocListElem_t *p;
diff --git a/sys/dev/raidframe/rf_callback.c b/sys/dev/raidframe/rf_callback.c
index c084c8a774c..33ba7f6157f 100644
--- a/sys/dev/raidframe/rf_callback.c
+++ b/sys/dev/raidframe/rf_callback.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_callback.c,v 1.21 2009/03/14 15:36:20 dsl Exp $ */
+/* $NetBSD: rf_callback.c,v 1.22 2009/03/15 17:17:23 cegger Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_callback.c,v 1.21 2009/03/14 15:36:20 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_callback.c,v 1.22 2009/03/15 17:17:23 cegger Exp $");
#include <dev/raidframe/raidframevar.h>
#include <sys/pool.h>
@@ -69,7 +69,7 @@ rf_ConfigureCallback(RF_ShutdownList_t **listp)
}
RF_CallbackDesc_t *
-rf_AllocCallbackDesc()
+rf_AllocCallbackDesc(void)
{
RF_CallbackDesc_t *p;
diff --git a/sys/dev/raidframe/rf_dagutils.c b/sys/dev/raidframe/rf_dagutils.c
index 63ea955f207..553793273c7 100644
--- a/sys/dev/raidframe/rf_dagutils.c
+++ b/sys/dev/raidframe/rf_dagutils.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_dagutils.c,v 1.51 2007/03/04 06:02:36 christos Exp $ */
+/* $NetBSD: rf_dagutils.c,v 1.52 2009/03/15 17:17:23 cegger Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagutils.c,v 1.51 2007/03/04 06:02:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagutils.c,v 1.52 2009/03/15 17:17:23 cegger Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -254,7 +254,7 @@ rf_ConfigureDAGs(RF_ShutdownList_t **listp)
}
RF_DagHeader_t *
-rf_AllocDAGHeader()
+rf_AllocDAGHeader(void)
{
RF_DagHeader_t *dh;
@@ -270,7 +270,7 @@ rf_FreeDAGHeader(RF_DagHeader_t * dh)
}
RF_DagNode_t *
-rf_AllocDAGNode()
+rf_AllocDAGNode(void)
{
RF_DagNode_t *node;
@@ -292,7 +292,7 @@ rf_FreeDAGNode(RF_DagNode_t *node)
}
RF_DagList_t *
-rf_AllocDAGList()
+rf_AllocDAGList(void)
{
RF_DagList_t *dagList;
@@ -309,7 +309,7 @@ rf_FreeDAGList(RF_DagList_t *dagList)
}
void *
-rf_AllocDAGPCache()
+rf_AllocDAGPCache(void)
{
void *p;
p = pool_get(&rf_pools.dagpcache, PR_WAITOK);
@@ -325,7 +325,7 @@ rf_FreeDAGPCache(void *p)
}
RF_FuncList_t *
-rf_AllocFuncList()
+rf_AllocFuncList(void)
{
RF_FuncList_t *funcList;
diff --git a/sys/dev/raidframe/rf_driver.c b/sys/dev/raidframe/rf_driver.c
index 866db00cffc..6104e6ec79d 100644
--- a/sys/dev/raidframe/rf_driver.c
+++ b/sys/dev/raidframe/rf_driver.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.c,v 1.120 2008/12/20 17:04:51 oster Exp $ */
+/* $NetBSD: rf_driver.c,v 1.121 2009/03/15 17:17:23 cegger Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -66,7 +66,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.120 2008/12/20 17:04:51 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.121 2009/03/15 17:17:23 cegger Exp $");
#ifdef _KERNEL_OPT
#include "opt_raid_diagnostic.h"
@@ -155,7 +155,7 @@ static void rf_FreeEmergBuffers(RF_Raid_t *);
/* called at system boot time */
int
-rf_BootRaidframe()
+rf_BootRaidframe(void)
{
if (raidframe_booted)
@@ -172,7 +172,7 @@ rf_BootRaidframe()
* Called whenever an array is shutdown
*/
static void
-rf_UnconfigureArray()
+rf_UnconfigureArray(void)
{
RF_LOCK_LKMGR_MUTEX(configureMutex);
diff --git a/sys/dev/raidframe/rf_map.c b/sys/dev/raidframe/rf_map.c
index 10f672c6a0b..5586a6f5714 100644
--- a/sys/dev/raidframe/rf_map.c
+++ b/sys/dev/raidframe/rf_map.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_map.c,v 1.43 2007/03/04 06:02:38 christos Exp $ */
+/* $NetBSD: rf_map.c,v 1.44 2009/03/15 17:17:23 cegger Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
**************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.43 2007/03/04 06:02:38 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.44 2009/03/15 17:17:23 cegger Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -374,7 +374,7 @@ rf_ConfigureMapModule(RF_ShutdownList_t **listp)
}
RF_AccessStripeMapHeader_t *
-rf_AllocAccessStripeMapHeader()
+rf_AllocAccessStripeMapHeader(void)
{
RF_AccessStripeMapHeader_t *p;
@@ -392,7 +392,7 @@ rf_FreeAccessStripeMapHeader(RF_AccessStripeMapHeader_t *p)
RF_VoidFunctionPointerListElem_t *
-rf_AllocVFPListElem()
+rf_AllocVFPListElem(void)
{
RF_VoidFunctionPointerListElem_t *p;
@@ -411,7 +411,7 @@ rf_FreeVFPListElem(RF_VoidFunctionPointerListElem_t *p)
RF_VoidPointerListElem_t *
-rf_AllocVPListElem()
+rf_AllocVPListElem(void)
{
RF_VoidPointerListElem_t *p;
@@ -429,7 +429,7 @@ rf_FreeVPListElem(RF_VoidPointerListElem_t *p)
}
RF_ASMHeaderListElem_t *
-rf_AllocASMHeaderListElem()
+rf_AllocASMHeaderListElem(void)
{
RF_ASMHeaderListElem_t *p;
@@ -447,7 +447,7 @@ rf_FreeASMHeaderListElem(RF_ASMHeaderListElem_t *p)
}
RF_FailedStripe_t *
-rf_AllocFailedStripeStruct()
+rf_AllocFailedStripeStruct(void)
{
RF_FailedStripe_t *p;
@@ -468,7 +468,7 @@ rf_FreeFailedStripeStruct(RF_FailedStripe_t *p)
RF_PhysDiskAddr_t *
-rf_AllocPhysDiskAddr()
+rf_AllocPhysDiskAddr(void)
{
RF_PhysDiskAddr_t *p;
diff --git a/sys/dev/raidframe/rf_mcpair.c b/sys/dev/raidframe/rf_mcpair.c
index 23ab62cda9c..363bf7efee8 100644
--- a/sys/dev/raidframe/rf_mcpair.c
+++ b/sys/dev/raidframe/rf_mcpair.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_mcpair.c,v 1.21 2006/11/16 01:33:23 christos Exp $ */
+/* $NetBSD: rf_mcpair.c,v 1.22 2009/03/15 17:17:23 cegger Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_mcpair.c,v 1.21 2006/11/16 01:33:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_mcpair.c,v 1.22 2009/03/15 17:17:23 cegger Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -70,7 +70,7 @@ rf_ConfigureMCPair(RF_ShutdownList_t **listp)
}
RF_MCPair_t *
-rf_AllocMCPair()
+rf_AllocMCPair(void)
{
RF_MCPair_t *t;
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index d8d53c0aebc..5f058e6b966 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.258 2009/03/14 11:08:28 ad Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.259 2009/03/15 17:17:23 cegger Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -139,7 +139,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.258 2009/03/14 11:08:28 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.259 2009/03/15 17:17:23 cegger Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -2843,7 +2843,7 @@ oomem:
}
RF_AutoConfig_t *
-rf_find_raid_components()
+rf_find_raid_components(void)
{
struct vnode *vp;
struct disklabel label;
diff --git a/sys/dev/raidframe/rf_options.c b/sys/dev/raidframe/rf_options.c
index a78a9e523d3..9fb1c2cc29e 100644
--- a/sys/dev/raidframe/rf_options.c
+++ b/sys/dev/raidframe/rf_options.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_options.c,v 1.7 2005/12/11 12:23:37 christos Exp $ */
+/* $NetBSD: rf_options.c,v 1.8 2009/03/15 17:17:23 cegger Exp $ */
/*
* rf_options.c
*/
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_options.c,v 1.7 2005/12/11 12:23:37 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_options.c,v 1.8 2009/03/15 17:17:23 cegger Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -72,7 +72,7 @@ RF_DebugName_t rf_debugNames[] = {
#endif /* __STDC__ */
void
-rf_ResetDebugOptions()
+rf_ResetDebugOptions(void)
{
#include "rf_optnames.h"
}
diff --git a/sys/dev/raidframe/rf_stripelocks.c b/sys/dev/raidframe/rf_stripelocks.c
index de1f797fbbc..e0cc945751b 100644
--- a/sys/dev/raidframe/rf_stripelocks.c
+++ b/sys/dev/raidframe/rf_stripelocks.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_stripelocks.c,v 1.29 2006/11/16 01:33:23 christos Exp $ */
+/* $NetBSD: rf_stripelocks.c,v 1.30 2009/03/15 17:17:23 cegger Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_stripelocks.c,v 1.29 2006/11/16 01:33:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_stripelocks.c,v 1.30 2009/03/15 17:17:23 cegger Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -183,7 +183,7 @@ rf_ConfigureStripeLockFreeList(RF_ShutdownList_t **listp)
}
static RF_LockTableEntry_t *
-rf_MakeLockTable()
+rf_MakeLockTable(void)
{
RF_LockTableEntry_t *lockTable;
int i;