Prototype lkmexists() in <sys/lkm.h> as some LKMs might need to use it.
This commit is contained in:
parent
11bbe25fb4
commit
cf30e3e3c9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kern_lkm.c,v 1.36 1996/10/13 02:32:31 christos Exp $ */
|
||||
/* $NetBSD: kern_lkm.c,v 1.37 1997/05/28 02:41:42 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 lkmexists __P((struct lkm_table *));
|
||||
int lkmdispatch __P((struct lkm_table *, int));
|
||||
|
||||
/*ARGSUSED*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lkm.h,v 1.13 1997/05/28 02:35:33 thorpej Exp $ */
|
||||
/* $NetBSD: lkm.h,v 1.14 1997/05/28 02:41:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Header file used by loadable kernel modules and loadable kernel module
|
||||
|
@ -242,6 +242,7 @@ struct lkm_table {
|
|||
|
||||
|
||||
extern int lkm_nofunc __P((struct lkm_table *lkmtp, int cmd));
|
||||
extern int lkmexists __P((struct lkm_table *));
|
||||
|
||||
/*
|
||||
* DISPATCH -- body function for use in module entry point function;
|
||||
|
|
Loading…
Reference in New Issue