summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660/cd9660_node.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-03 21:39:30 +0000
committerbde <bde@FreeBSD.org>1998-02-03 21:39:30 +0000
commitd4513be4c035a8226d04c3ecc05e0c1da37c66db (patch)
tree4ef74b639c368640426adf0d609c70d7c20a70b0 /sys/isofs/cd9660/cd9660_node.h
parent5c6a3c707a71c0c5d17d51db594c0da1a93d4eb7 (diff)
downloadFreeBSD-src-d4513be4c035a8226d04c3ecc05e0c1da37c66db.zip
FreeBSD-src-d4513be4c035a8226d04c3ecc05e0c1da37c66db.tar.gz
Forward declare some structs so that this file is more self-sufficient.
Don't declare kernel objects or functions unless KERNEL is defined.
Diffstat (limited to 'sys/isofs/cd9660/cd9660_node.h')
-rw-r--r--sys/isofs/cd9660/cd9660_node.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.h b/sys/isofs/cd9660/cd9660_node.h
index 4a1a79c..33b208f 100644
--- a/sys/isofs/cd9660/cd9660_node.h
+++ b/sys/isofs/cd9660/cd9660_node.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_node.h 8.6 (Berkeley) 5/14/95
- * $Id: cd9660_node.h,v 1.15 1997/10/17 12:36:10 phk Exp $
+ * $Id: cd9660_node.h,v 1.16 1997/11/18 14:40:34 phk Exp $
*/
/*
@@ -92,11 +92,19 @@ struct iso_node {
#define VTOI(vp) ((struct iso_node *)(vp)->v_data)
#define ITOV(ip) ((ip)->i_vnode)
+#ifdef KERNEL
+
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_ISOFSMNT);
MALLOC_DECLARE(M_ISOFSNODE);
#endif
+struct buf;
+struct vop_bmap_args;
+struct vop_cachedlookup_args;
+struct vop_inactive_args;
+struct vop_reclaim_args;
+
/*
* Prototypes for ISOFS vnode operations
*/
@@ -114,3 +122,5 @@ struct vnode *cd9660_ihashget __P((dev_t, ino_t));
void cd9660_ihashins __P((struct iso_node *));
int cd9660_tstamp_conv7 __P((u_char *, struct timespec *, enum ISO_FTYPE));
int cd9660_tstamp_conv17 __P((u_char *, struct timespec *));
+
+#endif /* KERNEL */
OpenPOWER on IntegriCloud