diff options
author | peter <peter@FreeBSD.org> | 1997-05-25 04:50:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-25 04:50:02 +0000 |
commit | e803ad6c09aa9268a4b0333ffec2dc07a37d0e85 (patch) | |
tree | b5c0c93007f48abe938a6f44e66e3cffbd0c89cb /sys/miscfs/nullfs | |
parent | 47e5187c67dc3e94283e5c7500d83e294ace4409 (diff) | |
download | FreeBSD-src-e803ad6c09aa9268a4b0333ffec2dc07a37d0e85.zip FreeBSD-src-e803ad6c09aa9268a4b0333ffec2dc07a37d0e85.tar.gz |
Fix some warnings (missing prototypes, wrong "generic" args etc)
umapfs uses one of nullfs's functions...
Diffstat (limited to 'sys/miscfs/nullfs')
-rw-r--r-- | sys/miscfs/nullfs/null.h | 4 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null_vnops.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/miscfs/nullfs/null.h b/sys/miscfs/nullfs/null.h index 8e886f7..0b438fe 100644 --- a/sys/miscfs/nullfs/null.h +++ b/sys/miscfs/nullfs/null.h @@ -35,7 +35,7 @@ * * @(#)null.h 8.3 (Berkeley) 8/20/94 * - * $Id$ + * $Id: null.h,v 1.6 1997/02/22 09:40:20 peter Exp $ */ struct null_args { @@ -70,6 +70,8 @@ extern struct vnode *null_checkvp __P((struct vnode *vp, char *fil, int lno)); #define NULLVPTOLOWERVP(vp) (VTONULL(vp)->null_lowervp) #endif +extern int null_bypass __P((struct vop_generic_args *ap)); + extern vop_t **null_vnodeop_p; extern struct vfsops null_vfsops; #endif /* KERNEL */ diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c index f145aa3..a2e891d 100644 --- a/sys/miscfs/nullfs/null_vnops.c +++ b/sys/miscfs/nullfs/null_vnops.c @@ -37,11 +37,11 @@ * * Ancestors: * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92 - * $Id: null_vnops.c,v 1.16 1997/02/22 09:40:22 peter Exp $ + * $Id: null_vnops.c,v 1.17 1997/04/17 11:17:30 kato Exp $ * ...and... * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project * - * $Id: null_vnops.c,v 1.16 1997/02/22 09:40:22 peter Exp $ + * $Id: null_vnops.c,v 1.17 1997/04/17 11:17:30 kato Exp $ */ /* @@ -193,7 +193,6 @@ SYSCTL_INT(_debug, OID_AUTO, nullfs_bug_bypass, CTLFLAG_RW, &null_bug_bypass, 0, ""); static int null_access __P((struct vop_access_args *ap)); -int null_bypass __P((struct vop_generic_args *ap)); static int null_bwrite __P((struct vop_bwrite_args *ap)); static int null_getattr __P((struct vop_getattr_args *ap)); static int null_inactive __P((struct vop_inactive_args *ap)); |