From owner-freebsd-current Thu Jan 2 15:00:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA10370 for current-outgoing; Thu, 2 Jan 1997 15:00:38 -0800 (PST) Received: from mira.net.au (eplet.mira.net.au [203.9.190.17]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id PAA10365 for ; Thu, 2 Jan 1997 15:00:36 -0800 (PST) Received: (qmail 28460 invoked from network); 2 Jan 1997 23:00:30 -0000 Received: from melb.werple.net.au (203.9.190.18) by eplet.mira.net.au with SMTP; 2 Jan 1997 23:00:30 -0000 Received: (from uucp@localhost) by melb.werple.net.au (8.7.6/8.7.3/2) with UUCP id JAA26721 for current@FreeBSD.org; Fri, 3 Jan 1997 09:51:40 +1100 (EST) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id JAA24782 for current@FreeBSD.org; Fri, 3 Jan 1997 09:55:23 +1100 (EST) From: John Birrell Message-Id: <199701022255.JAA24782@freebsd1.cimlogic.com.au> Subject: MOD_DECL in lkm.h To: current@FreeBSD.org Date: Fri, 3 Jan 1997 09:55:23 +1100 (EST) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk G'day, Shouldn't the MOD_DECL macro in lkm.h also have: static int name ## _stat __P((struct lkm_table *lkmtp, int cmd)); \ so that the status function has a prototype defined before it is used? -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au; jb@netbsd.org 119 Cecil Street Ph +61 3 9690 6900 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137