From 10cf8131b7cabe963a3ed98b74724af5201922a9 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 3 Feb 2009 07:52:07 +0000 Subject: Prefer ANSI function definitions to K&R ones. --- sys/kern/subr_autoconf.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sys/kern') 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; -- cgit v1.1