summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-12-26 13:30:54 +0000
committerbluhm <bluhm@openbsd.org>2019-12-26 13:30:54 +0000
commitaf9e00b9fc49063c85c8d77d702d181236103cf3 (patch)
tree88b39333753f9514f51570f9aa54f201ff2448c4 /sys/kern/vfs_init.c
parentConvert struct vfsops initializer to C99 style. (diff)
downloadwireguard-openbsd-af9e00b9fc49063c85c8d77d702d181236103cf3.tar.xz
wireguard-openbsd-af9e00b9fc49063c85c8d77d702d181236103cf3.zip
Move extern declarations of vfsops variables into header file.
OK visa@
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c43
1 files changed, 1 insertions, 42 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index adf1116645d..84c00f0e444 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_init.c,v 1.42 2019/04/02 13:07:28 visa Exp $ */
+/* $OpenBSD: vfs_init.c,v 1.43 2019/12/26 13:30:54 bluhm Exp $ */
/* $NetBSD: vfs_init.c,v 1.6 1996/02/09 19:00:58 christos Exp $ */
/*
@@ -50,47 +50,6 @@ struct pool namei_pool;
struct vnode *rootvnode;
/* Set up the filesystem operations for vnodes. */
-#ifdef FFS
-extern const struct vfsops ffs_vfsops;
-#endif
-
-#ifdef MFS
-extern const struct vfsops mfs_vfsops;
-#endif
-
-#ifdef MSDOSFS
-extern const struct vfsops msdosfs_vfsops;
-#endif
-
-#ifdef NFSCLIENT
-extern const struct vfsops nfs_vfsops;
-#endif
-
-#ifdef CD9660
-extern const struct vfsops cd9660_vfsops;
-#endif
-
-#ifdef EXT2FS
-extern const struct vfsops ext2fs_vfsops;
-#endif
-
-#ifdef NTFS
-extern const struct vfsops ntfs_vfsops;
-#endif
-
-#ifdef UDF
-extern const struct vfsops udf_vfsops;
-#endif
-
-#ifdef FUSE
-extern const struct vfsops fusefs_vfsops;
-#endif
-
-#ifdef TMPFS
-extern const struct vfsops tmpfs_vfsops;
-#endif
-
-/* Set up the filesystem operations for vnodes. */
static struct vfsconf vfsconflist[] = {
#ifdef FFS
{ &ffs_vfsops, MOUNT_FFS, 1, 0, MNT_LOCAL | MNT_SWAPPABLE,