From owner-svn-src-head@FreeBSD.ORG Tue Feb 3 07:52:07 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55F461065670; Tue, 3 Feb 2009 07:52:07 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 42DC18FC41; Tue, 3 Feb 2009 07:52:07 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n137q7H4021355; Tue, 3 Feb 2009 07:52:07 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n137q7SN021354; Tue, 3 Feb 2009 07:52:07 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200902030752.n137q7SN021354@svn.freebsd.org> From: Warner Losh Date: Tue, 3 Feb 2009 07:52:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188059 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2009 07:52:08 -0000 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;