diff options
author | bde <bde@FreeBSD.org> | 1996-05-01 02:16:17 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-05-01 02:16:17 +0000 |
commit | 82c1afdaa1e8eef12f3ed9b548daa1fcf118f4cd (patch) | |
tree | 8fd7c8a67d75ea7446d091d266aa8e716d49679a /sys/gnu/fs/ext2fs/ext2_extern.h | |
parent | b3ded284a077f0b9c8fb148958c083eb07762578 (diff) | |
download | FreeBSD-src-82c1afdaa1e8eef12f3ed9b548daa1fcf118f4cd.zip FreeBSD-src-82c1afdaa1e8eef12f3ed9b548daa1fcf118f4cd.tar.gz |
Removed bogus _BEGIN_DECLS/_END_DECLS.
Removed unused struct tag declarations in cloned code.
Added or cleaned up idempotency ifdefs.
Diffstat (limited to 'sys/gnu/fs/ext2fs/ext2_extern.h')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_extern.h | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_extern.h b/sys/gnu/fs/ext2fs/ext2_extern.h index 9b0ce98..f07b7b7 100644 --- a/sys/gnu/fs/ext2fs/ext2_extern.h +++ b/sys/gnu/fs/ext2fs/ext2_extern.h @@ -39,24 +39,15 @@ * @(#)ffs_extern.h 8.3 (Berkeley) 4/16/94 */ -struct buf; -struct fid; -struct fs; +#ifndef _SYS_GNU_EXT2FS_EXT2_EXTERN_H_ +#define _SYS_GNU_EXT2FS_EXT2_EXTERN_H_ + +struct dinode; +struct ext2_inode; struct inode; struct mount; -struct nameidata; -struct proc; -struct statfs; -struct timeval; -struct ucred; -struct uio; struct vnode; -struct mbuf; -struct dinode; -struct ext2_group_desc; -struct ext2_inode; -__BEGIN_DECLS int ext2_alloc __P((struct inode *, daddr_t, daddr_t, int, struct ucred *, daddr_t *)); int ext2_balloc __P((struct inode *, @@ -105,16 +96,18 @@ void mark_buffer_dirty __P((struct buf *bh)); int bwrite(); /* FFS needs a bwrite routine. XXX */ #endif -/* this macros allows some of the ufs code to distinguish between - * an EXT2 and a non-ext2(FFS/LFS) vnode. +/* + * This macro allows the ufs code to distinguish between an EXT2 and a + * non-ext2(FFS/LFS) vnode. */ #define IS_EXT2_VNODE(vp) (vp->v_mount->mnt_stat.f_type == MOUNT_EXT2FS) #ifdef DIAGNOSTIC void ext2_checkoverlap __P((struct buf *, struct inode *)); #endif -__END_DECLS extern vop_t **ext2_vnodeop_p; extern vop_t **ext2_specop_p; extern vop_t **ext2_fifoop_p; + +#endif /* !_SYS_GNU_EXT2FS_EXT2_EXTERN_H_ */ |