diff options
author | bde <bde@FreeBSD.org> | 1995-11-11 03:36:07 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-11 03:36:07 +0000 |
commit | 8215d8dcd078c97c5e0c743195e51c17a2a02ca8 (patch) | |
tree | ec4cc618b628600b64ba07ad73ab9f4effba8f6a /sys/miscfs/deadfs | |
parent | 6cdf3e90c605f2138d454bd4a39ce24ebe7aae2a (diff) | |
download | FreeBSD-src-8215d8dcd078c97c5e0c743195e51c17a2a02ca8.zip FreeBSD-src-8215d8dcd078c97c5e0c743195e51c17a2a02ca8.tar.gz |
Removed unsed function dead_nullop().
Converted incomplete function declarations to prototypes.
Diffstat (limited to 'sys/miscfs/deadfs')
-rw-r--r-- | sys/miscfs/deadfs/dead_vnops.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c index 55534d1..45d9997 100644 --- a/sys/miscfs/deadfs/dead_vnops.c +++ b/sys/miscfs/deadfs/dead_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)dead_vnops.c 8.1 (Berkeley) 6/10/93 - * $Id: dead_vnops.c,v 1.7 1995/09/04 00:20:26 dyson Exp $ + * $Id: dead_vnops.c,v 1.8 1995/11/09 08:14:59 bde Exp $ */ #include <sys/param.h> @@ -48,8 +48,8 @@ static int chkvnlock __P((struct vnode *)); /* * Prototypes for dead operations on vnodes. */ -int dead_badop(), - dead_ebadf(); +int dead_badop __P((void)); +int dead_ebadf __P((void)); int dead_lookup __P((struct vop_lookup_args *)); #define dead_create ((int (*) __P((struct vop_create_args *)))dead_badop) #define dead_mknod ((int (*) __P((struct vop_mknod_args *)))dead_badop) @@ -347,16 +347,6 @@ dead_badop() } /* - * Empty vnode null operation - */ -int -dead_nullop() -{ - - return (0); -} - -/* * We have to wait during times when the vnode is * in a state of change. */ |