summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-03 07:52:07 +0000
committerimp <imp@FreeBSD.org>2009-02-03 07:52:07 +0000
commit10cf8131b7cabe963a3ed98b74724af5201922a9 (patch)
tree9f8617f6bb1af2bcc1bbf1543f190c7b43223f4d /sys/kern
parent5a073bfc7c0280382ec1e1125a55a217c1c735ea (diff)
downloadFreeBSD-src-10cf8131b7cabe963a3ed98b74724af5201922a9.zip
FreeBSD-src-10cf8131b7cabe963a3ed98b74724af5201922a9.tar.gz
Prefer ANSI function definitions to K&R ones.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_autoconf.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index 75a97b2..12c69ce 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -91,8 +91,7 @@ run_interrupt_driven_config_hooks_warning(int warned)
}
static void
-run_interrupt_driven_config_hooks(dummy)
- void *dummy;
+run_interrupt_driven_config_hooks(void *dummy)
{
struct intr_config_hook *hook_entry, *next_entry;
int warned;
@@ -127,8 +126,7 @@ SYSINIT(intr_config_hooks, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST,
* be used to complete initialization.
*/
int
-config_intrhook_establish(hook)
- struct intr_config_hook *hook;
+config_intrhook_establish(struct intr_config_hook *hook)
{
struct intr_config_hook *hook_entry;
@@ -151,8 +149,7 @@ config_intrhook_establish(hook)
}
void
-config_intrhook_disestablish(hook)
- struct intr_config_hook *hook;
+config_intrhook_disestablish(struct intr_config_hook *hook)
{
struct intr_config_hook *hook_entry;
OpenPOWER on IntegriCloud