diff options
author | jmg <jmg@FreeBSD.org> | 1997-10-24 05:29:07 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 1997-10-24 05:29:07 +0000 |
commit | 094d62656ca1e173a4ce9c794f4f8c62bd3c2297 (patch) | |
tree | 90422a60391b44c14786706427f5dff9cba0cb50 /sys/sys/module.h | |
parent | 039edbcc805a25feb7e2c033a580151313ca8217 (diff) | |
download | FreeBSD-src-094d62656ca1e173a4ce9c794f4f8c62bd3c2297.zip FreeBSD-src-094d62656ca1e173a4ce9c794f4f8c62bd3c2297.tar.gz |
make a couple functions static...
also change module_register_static to module_register_init as this
function initalizes the module for both dynamic and static modules...
Diffstat (limited to 'sys/sys/module.h')
-rw-r--r-- | sys/sys/module.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/module.h b/sys/sys/module.h index 6436212..fe54185 100644 --- a/sys/sys/module.h +++ b/sys/sys/module.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: module.h,v 1.1 1997/05/07 16:05:45 dfr Exp $ */ #ifndef _SYS_MODULE_H_ @@ -52,9 +52,9 @@ typedef struct moduledata { } moduledata_t; #define DECLARE_MODULE(name, data, sub, order) \ -SYSINIT(name##module, sub, order, module_register_static, &data) +SYSINIT(name##module, sub, order, module_register_init, &data) -void module_register_static(void *data); +void module_register_init(void *data); int module_register(const char *name, modeventhand_t callback, void *arg); module_t module_lookupbyname(const char *name); module_t module_lookupbyid(int modid); |