diff options
author | bde <bde@FreeBSD.org> | 1997-09-07 05:27:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-09-07 05:27:26 +0000 |
commit | e499dfd06df024bd144272e8a2f6ed93c0bf4dc0 (patch) | |
tree | 5f5545b137451d1ac1e2b22e92786880de54efb8 /sys/miscfs | |
parent | 4b54cb94d25d8fd3a31dc9efab748ba0e17311a1 (diff) | |
download | FreeBSD-src-e499dfd06df024bd144272e8a2f6ed93c0bf4dc0.zip FreeBSD-src-e499dfd06df024bd144272e8a2f6ed93c0bf4dc0.tar.gz |
Some staticized variables were still declared to be extern.
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/fdesc/fdesc.h | 4 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 5 | ||||
-rw-r--r-- | sys/miscfs/kernfs/kernfs.h | 3 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null.h | 3 | ||||
-rw-r--r-- | sys/miscfs/portal/portal.h | 3 | ||||
-rw-r--r-- | sys/miscfs/procfs/procfs.h | 3 | ||||
-rw-r--r-- | sys/miscfs/umapfs/umap.h | 3 |
7 files changed, 9 insertions, 15 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 */ diff --git a/sys/miscfs/kernfs/kernfs.h b/sys/miscfs/kernfs/kernfs.h index aa98050..1488bc6 100644 --- a/sys/miscfs/kernfs/kernfs.h +++ b/sys/miscfs/kernfs/kernfs.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)kernfs.h 8.6 (Berkeley) 3/29/95 - * $Id: kernfs.h,v 1.6 1997/02/22 09:40:18 peter Exp $ + * $Id: kernfs.h,v 1.7 1997/08/16 19:15:14 wollman Exp $ */ #define _PATH_KERNFS "/kern" /* Default mountpoint */ @@ -63,6 +63,5 @@ struct kernfs_node { eopnotsupp) #define kernfs_vptofh ((int (*) __P((struct vnode *, struct fid *)))eopnotsupp) extern vop_t **kernfs_vnodeop_p; -extern struct vfsops kernfs_vfsops; extern dev_t rrootdev; #endif /* KERNEL */ diff --git a/sys/miscfs/nullfs/null.h b/sys/miscfs/nullfs/null.h index 0b438fe..7d46a11 100644 --- a/sys/miscfs/nullfs/null.h +++ b/sys/miscfs/nullfs/null.h @@ -35,7 +35,7 @@ * * @(#)null.h 8.3 (Berkeley) 8/20/94 * - * $Id: null.h,v 1.6 1997/02/22 09:40:20 peter Exp $ + * $Id: null.h,v 1.7 1997/05/25 04:50:02 peter Exp $ */ struct null_args { @@ -73,5 +73,4 @@ extern struct vnode *null_checkvp __P((struct vnode *vp, char *fil, int lno)); extern int null_bypass __P((struct vop_generic_args *ap)); extern vop_t **null_vnodeop_p; -extern struct vfsops null_vfsops; #endif /* KERNEL */ diff --git a/sys/miscfs/portal/portal.h b/sys/miscfs/portal/portal.h index 3d85d8e..d60826e 100644 --- a/sys/miscfs/portal/portal.h +++ b/sys/miscfs/portal/portal.h @@ -35,7 +35,7 @@ * * @(#)portal.h 8.4 (Berkeley) 1/21/94 * - * $Id$ + * $Id: portal.h,v 1.4 1997/02/22 09:40:24 peter Exp $ */ struct portal_args { @@ -68,5 +68,4 @@ struct portalnode { #define PORTAL_ROOTFILEID 2 extern vop_t **portal_vnodeop_p; -extern struct vfsops portal_vfsops; #endif /* KERNEL */ diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h index 9e051d4..76f1e8e 100644 --- a/sys/miscfs/procfs/procfs.h +++ b/sys/miscfs/procfs/procfs.h @@ -37,7 +37,7 @@ * @(#)procfs.h 8.9 (Berkeley) 5/14/95 * * From: - * $Id: procfs.h,v 1.15 1997/02/22 09:40:26 peter Exp $ + * $Id: procfs.h,v 1.16 1997/08/12 04:34:27 sef Exp $ */ /* @@ -164,7 +164,6 @@ int procfs_validtype __P((struct proc *)); #define PROCFS_WANT 0x02 extern vop_t **procfs_vnodeop_p; -extern struct vfsops procfs_vfsops; int procfs_root __P((struct mount *, struct vnode **)); int procfs_rw __P((struct vop_read_args *)); diff --git a/sys/miscfs/umapfs/umap.h b/sys/miscfs/umapfs/umap.h index 54b7502..0c6ca34 100644 --- a/sys/miscfs/umapfs/umap.h +++ b/sys/miscfs/umapfs/umap.h @@ -35,7 +35,7 @@ * * @(#)umap.h 8.4 (Berkeley) 8/20/94 * - * $Id$ + * $Id: umap.h,v 1.8 1997/02/22 09:40:37 peter Exp $ */ #define MAPFILEENTRIES 64 @@ -88,5 +88,4 @@ extern struct vnode *umap_checkvp __P((struct vnode *vp, char *fil, int lno)); #endif extern vop_t **umap_vnodeop_p; -extern struct vfsops umap_vfsops; #endif /* KERNEL */ |