Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 1997 09:55:23 +1100 (EST)
From:      John Birrell <jb@cimlogic.com.au>
To:        current@FreeBSD.org
Subject:   MOD_DECL in lkm.h
Message-ID:  <199701022255.JAA24782@freebsd1.cimlogic.com.au>

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



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