summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-11-15 15:33:52 +0000
committerbde <bde@FreeBSD.org>1998-11-15 15:33:52 +0000
commit51ad68ca2dc312183239c0c5b885cbd8b08ca376 (patch)
treeb628fb0bc9eaf5469ac1ddf218f5e0f6debcab31 /sys/fs
parent1ffd64f1345cc5467a666cb99769107c028c1983 (diff)
downloadFreeBSD-src-51ad68ca2dc312183239c0c5b885cbd8b08ca376.zip
FreeBSD-src-51ad68ca2dc312183239c0c5b885cbd8b08ca376.tar.gz
Finished updating module event handlers to be compatible with
modeventhand_t.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/coda/coda_fbsd.c4
-rw-r--r--sys/fs/unionfs/union_subr.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c
index ef548b5..57512de 100644
--- a/sys/fs/coda/coda_fbsd.c
+++ b/sys/fs/coda/coda_fbsd.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/coda/coda_fbsd.cr,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: coda_fbsd.c,v 1.7 1998/09/29 20:19:45 rvb Exp $
+ * $Id: coda_fbsd.c,v 1.8 1998/11/03 08:55:05 peter Exp $
*
*/
@@ -90,7 +90,7 @@ int vcdebug = 1;
#if !defined(VFS_LKM) || defined(VFS_KLD)
static int
-codadev_modevent(module_t mod, modeventtype_t type, void *data)
+codadev_modevent(module_t mod, int type, void *data)
{
dev_t dev;
#ifdef DEVFS
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index 96df62d..18d79b5 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
- * $Id: union_subr.c,v 1.31 1998/07/15 04:17:44 bde Exp $
+ * $Id: union_subr.c,v 1.32 1998/11/03 08:01:48 peter Exp $
*/
#include <sys/param.h>
@@ -1196,7 +1196,8 @@ union_dircheck(struct proc *p, struct vnode **vp, struct file *fp)
return error;
}
-static int union_modevent(module_t mod, modeventtype_t type, void *data)
+static int
+union_modevent(module_t mod, int type, void *data)
{
switch (type) {
case MOD_LOAD:
OpenPOWER on IntegriCloud