diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-11-11 03:36:07 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-11-11 03:36:07 +0000 |
commit | dace5f55ca130b73dfb6951e815501a299f8244a (patch) | |
tree | ec4cc618b628600b64ba07ad73ab9f4effba8f6a | |
parent | 0fe788e3e874d8ebc0af0aa80217212ba0b87a68 (diff) | |
download | src-dace5f55ca130b73dfb6951e815501a299f8244a.tar.gz src-dace5f55ca130b73dfb6951e815501a299f8244a.zip |
Removed unsed function dead_nullop().
Converted incomplete function declarations to prototypes.
Notes
Notes:
svn path=/head/; revision=12203
-rw-r--r-- | sys/fs/deadfs/dead_vnops.c | 16 | ||||
-rw-r--r-- | sys/miscfs/deadfs/dead_vnops.c | 16 |
2 files changed, 6 insertions, 26 deletions
diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index 55534d18d088..45d9997d58a2 100644 --- a/sys/fs/deadfs/dead_vnops.c +++ b/sys/fs/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. */ diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c index 55534d18d088..45d9997d58a2 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. */ |