diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1999-01-12 11:49:30 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1999-01-12 11:49:30 +0000 |
commit | ea2e82771675ed0063169121751717ca0d7ac967 (patch) | |
tree | 1d2044973fbce97a45d3ec8a80e5ed04e61c6302 /sys | |
parent | 5b1b6c58596c990f6da8e0385d3990e4baa8e88b (diff) | |
download | src-ea2e82771675ed0063169121751717ca0d7ac967.tar.gz src-ea2e82771675ed0063169121751717ca0d7ac967.zip |
Remove declarations for undefined functions and a couple of unused
enotsupp implementations.
Notes
Notes:
svn path=/head/; revision=42568
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 10 | ||||
-rw-r--r-- | sys/fs/portalfs/portal_vnops.c | 13 | ||||
-rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 12 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vfsops.c | 10 | ||||
-rw-r--r-- | sys/miscfs/portal/portal_vnops.c | 13 |
5 files changed, 5 insertions, 53 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index de6f03d062e4..881be49c8168 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94 * - * $Id: fdesc_vfsops.c,v 1.15 1998/05/06 05:29:33 msmith Exp $ + * $Id: fdesc_vfsops.c,v 1.16 1998/09/07 13:17:00 bde Exp $ */ /* @@ -55,13 +55,8 @@ static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure"); -static int fdesc_fhtovp __P((struct mount *mp, struct fid *fhp, - struct mbuf *nam, struct vnode **vpp, - int *exflagsp, struct ucred **credanonp)); static int fdesc_mount __P((struct mount *mp, char *path, caddr_t data, struct nameidata *ndp, struct proc *p)); -static int fdesc_quotactl __P((struct mount *mp, int cmd, uid_t uid, - caddr_t arg, struct proc *p)); static int fdesc_start __P((struct mount *mp, int flags, struct proc *p)); static int fdesc_unmount __P((struct mount *mp, int mntflags, struct proc *p)); @@ -69,9 +64,6 @@ static int fdesc_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p)); static int fdesc_sync __P((struct mount *mp, int waitfor, struct ucred *cred, struct proc *p)); -static int fdesc_vget __P((struct mount *mp, ino_t ino, - struct vnode **vpp)); -static int fdesc_vptofh __P((struct vnode *vp, struct fid *fhp)); /* * Mount the per-process file descriptors (/dev/fd) diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c index 6ed96c55f049..819d636a20c2 100644 --- a/sys/fs/portalfs/portal_vnops.c +++ b/sys/fs/portalfs/portal_vnops.c @@ -35,7 +35,7 @@ * * @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95 * - * $Id: portal_vnops.c,v 1.33 1998/06/10 21:21:31 dfr Exp $ + * $Id: portal_vnops.c,v 1.34 1998/12/07 21:58:32 archie Exp $ */ /* @@ -68,7 +68,6 @@ static int portal_fileid = PORTAL_ROOTFILEID+1; static int portal_badop __P((void)); static void portal_closefd __P((struct proc *p, int fd)); static int portal_connect __P((struct socket *so, struct socket *so2)); -static int portal_enotsupp __P((void)); static int portal_getattr __P((struct vop_getattr_args *ap)); static int portal_inactive __P((struct vop_inactive_args *ap)); static int portal_lookup __P((struct vop_lookup_args *ap)); @@ -576,16 +575,6 @@ portal_print(ap) /* - * Portal vnode unsupported operation - */ -static int -portal_enotsupp() -{ - - return (EOPNOTSUPP); -} - -/* * Portal "should never get here" operation */ static int diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index e6857d84268e..e9bdc2a36c72 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: devfs_vnops.c,v 1.63 1998/12/07 21:58:30 archie Exp $ + * $Id: devfs_vnops.c,v 1.64 1998/12/15 23:46:59 eivind Exp $ */ @@ -1285,16 +1285,6 @@ devfs_print(struct vop_print_args *ap) * pseudo ops * \**************************************************************************/ -/* - * /devfs vnode unsupported operation - */ -static int -devfs_enotsupp(void *junk) -{ - - return (EOPNOTSUPP); -} - /*proto*/ void devfs_dropvnode(dn_p dnp) diff --git a/sys/miscfs/fdesc/fdesc_vfsops.c b/sys/miscfs/fdesc/fdesc_vfsops.c index de6f03d062e4..881be49c8168 100644 --- a/sys/miscfs/fdesc/fdesc_vfsops.c +++ b/sys/miscfs/fdesc/fdesc_vfsops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94 * - * $Id: fdesc_vfsops.c,v 1.15 1998/05/06 05:29:33 msmith Exp $ + * $Id: fdesc_vfsops.c,v 1.16 1998/09/07 13:17:00 bde Exp $ */ /* @@ -55,13 +55,8 @@ static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure"); -static int fdesc_fhtovp __P((struct mount *mp, struct fid *fhp, - struct mbuf *nam, struct vnode **vpp, - int *exflagsp, struct ucred **credanonp)); static int fdesc_mount __P((struct mount *mp, char *path, caddr_t data, struct nameidata *ndp, struct proc *p)); -static int fdesc_quotactl __P((struct mount *mp, int cmd, uid_t uid, - caddr_t arg, struct proc *p)); static int fdesc_start __P((struct mount *mp, int flags, struct proc *p)); static int fdesc_unmount __P((struct mount *mp, int mntflags, struct proc *p)); @@ -69,9 +64,6 @@ static int fdesc_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p)); static int fdesc_sync __P((struct mount *mp, int waitfor, struct ucred *cred, struct proc *p)); -static int fdesc_vget __P((struct mount *mp, ino_t ino, - struct vnode **vpp)); -static int fdesc_vptofh __P((struct vnode *vp, struct fid *fhp)); /* * Mount the per-process file descriptors (/dev/fd) diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c index 6ed96c55f049..819d636a20c2 100644 --- a/sys/miscfs/portal/portal_vnops.c +++ b/sys/miscfs/portal/portal_vnops.c @@ -35,7 +35,7 @@ * * @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95 * - * $Id: portal_vnops.c,v 1.33 1998/06/10 21:21:31 dfr Exp $ + * $Id: portal_vnops.c,v 1.34 1998/12/07 21:58:32 archie Exp $ */ /* @@ -68,7 +68,6 @@ static int portal_fileid = PORTAL_ROOTFILEID+1; static int portal_badop __P((void)); static void portal_closefd __P((struct proc *p, int fd)); static int portal_connect __P((struct socket *so, struct socket *so2)); -static int portal_enotsupp __P((void)); static int portal_getattr __P((struct vop_getattr_args *ap)); static int portal_inactive __P((struct vop_inactive_args *ap)); static int portal_lookup __P((struct vop_lookup_args *ap)); @@ -576,16 +575,6 @@ portal_print(ap) /* - * Portal vnode unsupported operation - */ -static int -portal_enotsupp() -{ - - return (EOPNOTSUPP); -} - -/* * Portal "should never get here" operation */ static int |