Prototype lkmdispatch() in <sys/lkm.h>; all LKMs use it.

This commit is contained in:
thorpej 1997-05-28 02:44:55 +00:00
parent e80ea6e0b3
commit f160cf5490
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_lkm.c,v 1.37 1997/05/28 02:41:42 thorpej Exp $ */
/* $NetBSD: kern_lkm.c,v 1.38 1997/05/28 02:44:55 thorpej Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@ -93,7 +93,6 @@ static int _lkm_strmod __P((struct lkm_table *, int));
#endif
static int _lkm_exec __P((struct lkm_table *, int));
int lkmdispatch __P((struct lkm_table *, int));
/*ARGSUSED*/
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkm.h,v 1.15 1997/05/28 02:43:30 thorpej Exp $ */
/* $NetBSD: lkm.h,v 1.16 1997/05/28 02:44:57 thorpej Exp $ */
/*
* Header file used by loadable kernel modules and loadable kernel module
@ -243,6 +243,7 @@ struct lkm_table {
extern int lkm_nofunc __P((struct lkm_table *lkmtp, int cmd));
extern int lkmexists __P((struct lkm_table *));
extern int lkmdispatch __P((struct lkm_table *, int));
/*
* DISPATCH -- body function for use in module entry point function;