Remove declarations for undefined functions and a couple of unused
enotsupp implementations.
This commit is contained in:
parent
5b1b6c5859
commit
ea2e827716
@ -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)
|
||||
|
@ -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));
|
||||
@ -575,16 +574,6 @@ portal_print(ap)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Portal vnode unsupported operation
|
||||
*/
|
||||
static int
|
||||
portal_enotsupp()
|
||||
{
|
||||
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
|
||||
/*
|
||||
* Portal "should never get here" operation
|
||||
*/
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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));
|
||||
@ -575,16 +574,6 @@ portal_print(ap)
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Portal vnode unsupported operation
|
||||
*/
|
||||
static int
|
||||
portal_enotsupp()
|
||||
{
|
||||
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
|
||||
/*
|
||||
* Portal "should never get here" operation
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user