diff options
| author | cegger <cegger@NetBSD.org> | 2009-03-18 10:22:21 +0000 |
|---|---|---|
| committer | cegger <cegger@NetBSD.org> | 2009-03-18 10:22:21 +0000 |
| commit | df7f595ecd6efe54ea7c11083e2dbf711cad4b31 (patch) | |
| tree | 2e70fb4fc9234da64b5c0d61f729656db3c80105 /sys/dev/dm | |
| parent | 61260da8850e8a6c3adc941d28160d30877a0c04 (diff) | |
Ansify function definitions w/o arguments. Generated with sed.
Diffstat (limited to 'sys/dev/dm')
| -rw-r--r-- | sys/dev/dm/dm_dev.c | 6 | ||||
| -rw-r--r-- | sys/dev/dm/dm_pdev.c | 4 |
2 files changed, 5 insertions, 5 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); diff --git a/sys/dev/dm/dm_pdev.c b/sys/dev/dm/dm_pdev.c index b04d2cd7b14..8af4aaaddf9 100644 --- a/sys/dev/dm/dm_pdev.c +++ b/sys/dev/dm/dm_pdev.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_pdev.c,v 1.2 2008/12/19 15:24:03 haad Exp $ */ +/* $NetBSD: dm_pdev.c,v 1.3 2009/03/18 10:22:39 cegger Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -230,7 +230,7 @@ dm_pdev_decr(dm_pdev_t *dmp) } /*static int - dm_pdev_dump_list() + dm_pdev_dump_list(void) { dm_pdev_t *dmp; |
