Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2009 07:52:07 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188059 - head/sys/kern
Message-ID:  <200902030752.n137q7SN021354@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902030752.n137q7SN021354>