svn commit: r188059 - head/sys/kern

Warner Losh imp at FreeBSD.org
Mon Feb 2 23:52:08 PST 2009


Author: imp
Date: Tue Feb  3 07:52:07 2009
New Revision: 188059
URL: http://svn.freebsd.org/changeset/base/188059

Log:
  Prefer ANSI function definitions to K&R ones.

Modified:
  head/sys/kern/subr_autoconf.c

Modified: head/sys/kern/subr_autoconf.c
==============================================================================
--- head/sys/kern/subr_autoconf.c	Tue Feb  3 07:51:41 2009	(r188058)
+++ head/sys/kern/subr_autoconf.c	Tue Feb  3 07:52:07 2009	(r188059)
@@ -91,8 +91,7 @@ run_interrupt_driven_config_hooks_warnin
 }
 
 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_CO
  * 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;
 


More information about the svn-src-head mailing list