summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ffs/ffs_extern.h')
-rw-r--r--sys/ufs/ffs/ffs_extern.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h
index ea4adf55f0e..ea96622c4fc 100644
--- a/sys/ufs/ffs/ffs_extern.h
+++ b/sys/ufs/ffs/ffs_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_extern.h,v 1.36 2010/09/10 16:34:09 thib Exp $ */
+/* $OpenBSD: ffs_extern.h,v 1.37 2010/12/21 20:14:44 thib Exp $ */
/* $NetBSD: ffs_extern.h,v 1.4 1996/02/09 22:22:22 christos Exp $ */
/*
@@ -94,7 +94,9 @@ struct mbuf;
struct cg;
struct vop_vfree_args;
-__BEGIN_DECLS
+extern struct vops ffs_vops;
+extern struct vops ffs_specvops;
+extern struct vops ffs_fifovops;
/* ffs_alloc.c */
int ffs_alloc(struct inode *, daddr64_t, daddr64_t , int, struct ucred *,
@@ -186,13 +188,9 @@ void softdep_setup_allocindir_page(struct inode *, daddr64_t,
void softdep_fsync_mountdev(struct vnode *, int);
int softdep_sync_metadata(struct vop_fsync_args *);
int softdep_fsync(struct vnode *);
-__END_DECLS
-extern int (**ffs_vnodeop_p)(void *);
-extern int (**ffs_specop_p)(void *);
#ifdef FIFO
-extern int (**ffs_fifoop_p)(void *);
-#define FFS_FIFOOPS ffs_fifoop_p
+#define FFS_FIFOOPS &ffs_fifovops
#else
#define FFS_FIFOOPS NULL
#endif