diff options
Diffstat (limited to 'sys/miscfs/fdesc')
-rw-r--r-- | sys/miscfs/fdesc/fdesc.h | 4 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/miscfs/fdesc/fdesc.h b/sys/miscfs/fdesc/fdesc.h index 25cc3d3..bbba54d 100644 --- a/sys/miscfs/fdesc/fdesc.h +++ b/sys/miscfs/fdesc/fdesc.h @@ -35,7 +35,7 @@ * * @(#)fdesc.h 8.5 (Berkeley) 1/21/94 * - * $Id$ + * $Id: fdesc.h,v 1.5 1997/02/22 09:40:14 peter Exp $ */ #ifdef KERNEL @@ -76,6 +76,4 @@ extern dev_t devctty; extern int fdesc_init __P((struct vfsconf *)); extern int fdesc_root __P((struct mount *, struct vnode **)); extern int fdesc_allocvp __P((fdntype, int, struct mount *, struct vnode **)); -extern vop_t **fdesc_vnodeop_p; -extern struct vfsops fdesc_vfsops; #endif /* KERNEL */ diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 8753b34..cb64906 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 * - * $Id: fdesc_vnops.c,v 1.23 1997/02/22 09:40:15 peter Exp $ + * $Id: fdesc_vnops.c,v 1.24 1997/09/02 20:06:09 bde Exp $ */ /* @@ -67,6 +67,8 @@ extern struct cdevsw ctty_cdevsw; #define FDL_LOCKED 0x02 static int fdcache_lock; +static vop_t **fdesc_vnodeop_p; + dev_t devctty; #if (FD_STDIN != FD_STDOUT-1) || (FD_STDOUT != FD_STDERR-1) @@ -940,7 +942,6 @@ fdesc_badop() #define fdesc_update ((int (*) __P((struct vop_update_args *)))eopnotsupp) #define fdesc_bwrite ((int (*) __P((struct vop_bwrite_args *)))eopnotsupp) -static vop_t **fdesc_vnodeop_p; static struct vnodeopv_entry_desc fdesc_vnodeop_entries[] = { { &vop_default_desc, (vop_t *)vn_default_error }, { &vop_lookup_desc, (vop_t *)fdesc_lookup }, /* lookup */ |