summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_dev.c
diff options
context:
space:
mode:
authorcegger <cegger@NetBSD.org>2009-03-18 10:22:21 +0000
committercegger <cegger@NetBSD.org>2009-03-18 10:22:21 +0000
commitdf7f595ecd6efe54ea7c11083e2dbf711cad4b31 (patch)
tree2e70fb4fc9234da64b5c0d61f729656db3c80105 /sys/dev/dm/dm_dev.c
parent61260da8850e8a6c3adc941d28160d30877a0c04 (diff)
Ansify function definitions w/o arguments. Generated with sed.
Diffstat (limited to 'sys/dev/dm/dm_dev.c')
-rw-r--r--sys/dev/dm/dm_dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dm/dm_dev.c b/sys/dev/dm/dm_dev.c
index 899b4975bad..5543b0aa43f 100644
--- a/sys/dev/dm/dm_dev.c
+++ b/sys/dev/dm/dm_dev.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_dev.c,v 1.3 2009/03/06 16:17:29 haad Exp $ */
+/* $NetBSD: dm_dev.c,v 1.4 2009/03/18 10:22:39 cegger Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -300,7 +300,7 @@ dm_dev_destroy(void)
* Allocate new device entry.
*/
dm_dev_t*
-dm_dev_alloc()
+dm_dev_alloc(void)
{
dm_dev_t *dmv;
@@ -379,7 +379,7 @@ dm_dev_prop_list(void)
* Initialize global device mutex.
*/
int
-dm_dev_init()
+dm_dev_init(void)
{
TAILQ_INIT(&dm_dev_list); /* initialize global dev list */
mutex_init(&dm_dev_mutex, MUTEX_DEFAULT, IPL_NONE);