summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/kernfs/kernfs_vnops.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-03 14:54:48 +0000
committerbde <bde@FreeBSD.org>1995-12-03 14:54:48 +0000
commit64a1fca498baa82452b7832f03fb52d55b65861e (patch)
treea9998e1f2bc07a055eec218c76160973d186c314 /sys/miscfs/kernfs/kernfs_vnops.c
parent1a0a9cf4f5008de06188ddc5eefe1b6e156a792b (diff)
downloadFreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.zip
FreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.tar.gz
Added prototypes.
Removed some unnecessary #includes.
Diffstat (limited to 'sys/miscfs/kernfs/kernfs_vnops.c')
-rw-r--r--sys/miscfs/kernfs/kernfs_vnops.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vnops.c b/sys/miscfs/kernfs/kernfs_vnops.c
index 843e8ef..bcc1e9a 100644
--- a/sys/miscfs/kernfs/kernfs_vnops.c
+++ b/sys/miscfs/kernfs/kernfs_vnops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)kernfs_vnops.c 8.6 (Berkeley) 2/10/94
- * $Id: kernfs_vnops.c,v 1.12 1995/11/09 08:15:38 bde Exp $
+ * $Id: kernfs_vnops.c,v 1.13 1995/11/14 09:37:15 phk Exp $
*/
/*
@@ -103,6 +103,25 @@ static struct kern_target {
static int nkern_targets = sizeof(kern_targets) / sizeof(kern_targets[0]);
+static int kernfs_access __P((struct vop_access_args *ap));
+static int kernfs_badop __P((void));
+static int kernfs_enotsupp __P((void));
+static int kernfs_getattr __P((struct vop_getattr_args *ap));
+static int kernfs_inactive __P((struct vop_inactive_args *ap));
+static int kernfs_lookup __P((struct vop_lookup_args *ap));
+static int kernfs_open __P((struct vop_open_args *ap));
+static int kernfs_pathconf __P((struct vop_pathconf_args *ap));
+static int kernfs_print __P((struct vop_print_args *ap));
+static int kernfs_read __P((struct vop_read_args *ap));
+static int kernfs_readdir __P((struct vop_readdir_args *ap));
+static int kernfs_reclaim __P((struct vop_reclaim_args *ap));
+static int kernfs_setattr __P((struct vop_setattr_args *ap));
+static int kernfs_vfree __P((struct vop_vfree_args *ap));
+static int kernfs_write __P((struct vop_write_args *ap));
+static int kernfs_xread __P((struct kern_target *kt, char *buf, int len,
+ int *lenp));
+static int kernfs_xwrite __P((struct kern_target *kt, char *buf, int len));
+
static int
kernfs_xread(kt, buf, len, lenp)
struct kern_target *kt;
OpenPOWER on IntegriCloud