diff options
author | paul <paul@FreeBSD.org> | 1994-08-21 07:19:45 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1994-08-21 07:19:45 +0000 |
commit | ef6f4b86ab038cbd661be4b2c78c57d787f9526f (patch) | |
tree | a2c9d32450a1cbb486eab50fb696102fd5011994 /sys/ufs | |
parent | bcc18c44d8f807cbe41360d366b0acbab357d1fc (diff) | |
download | FreeBSD-src-ef6f4b86ab038cbd661be4b2c78c57d787f9526f.zip FreeBSD-src-ef6f4b86ab038cbd661be4b2c78c57d787f9526f.tar.gz |
Made idempotent
Reviewed by:
Submitted by:
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/lfs/lfs.h | 7 | ||||
-rw-r--r-- | sys/ufs/lfs/lfs_extern.h | 7 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_extern.h | 7 | ||||
-rw-r--r-- | sys/ufs/mfs/mfsiom.h | 7 | ||||
-rw-r--r-- | sys/ufs/mfs/mfsnode.h | 7 | ||||
-rw-r--r-- | sys/ufs/ufs/dinode.h | 7 | ||||
-rw-r--r-- | sys/ufs/ufs/dir.h | 6 | ||||
-rw-r--r-- | sys/ufs/ufs/inode.h | 7 | ||||
-rw-r--r-- | sys/ufs/ufs/quota.h | 6 | ||||
-rw-r--r-- | sys/ufs/ufs/ufs_extern.h | 7 | ||||
-rw-r--r-- | sys/ufs/ufs/ufsmount.h | 7 |
11 files changed, 59 insertions, 16 deletions
diff --git a/sys/ufs/lfs/lfs.h b/sys/ufs/lfs/lfs.h index 1238583..3f5aa07 100644 --- a/sys/ufs/lfs/lfs.h +++ b/sys/ufs/lfs/lfs.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)lfs.h 8.3 (Berkeley) 9/23/93 - * $Id$ + * $Id: lfs.h,v 1.2 1994/08/02 07:54:28 davidg Exp $ */ +#ifndef _UFS_LFS_LFS_H_ +#define _UFS_LFS_LFS_H_ + #define LFS_LABELPAD 8192 /* LFS label size */ #define LFS_SBPAD 8192 /* LFS superblock size */ @@ -352,3 +355,5 @@ struct lfs_stats { }; extern struct lfs_stats lfs_stats; #endif + +#endif diff --git a/sys/ufs/lfs/lfs_extern.h b/sys/ufs/lfs/lfs_extern.h index c54b0d4..5b6db4f 100644 --- a/sys/ufs/lfs/lfs_extern.h +++ b/sys/ufs/lfs/lfs_extern.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)lfs_extern.h 8.2 (Berkeley) 4/16/94 - * $Id$ + * $Id: lfs_extern.h,v 1.2 1994/08/02 07:54:34 davidg Exp $ */ +#ifndef _UFS_LFS_LFS_EXTERN_H_ +#define _UFS_LFS_LFS_EXTERN_H_ + struct fid; struct mount; struct nameidata; @@ -105,3 +108,5 @@ extern int (**lfs_fifoop_p)(); #else #define LFS_FIFOOPS NULL #endif + +#endif diff --git a/sys/ufs/mfs/mfs_extern.h b/sys/ufs/mfs/mfs_extern.h index ec8b3f3..fa51177 100644 --- a/sys/ufs/mfs/mfs_extern.h +++ b/sys/ufs/mfs/mfs_extern.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)mfs_extern.h 8.1 (Berkeley) 6/11/93 - * $Id$ + * $Id: mfs_extern.h,v 1.2 1994/08/02 07:54:42 davidg Exp $ */ +#ifndef _UFS_MFS_MFS_EXTERN_H_ +#define _UFS_MFS_MFS_EXTERN_H_ + struct buf; struct mount; struct nameidata; @@ -59,3 +62,5 @@ int mfs_start __P((struct mount *mp, int flags, struct proc *p)); int mfs_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p)); int mfs_strategy __P((struct vop_strategy_args *)); /* XXX */ __END_DECLS + +#endif diff --git a/sys/ufs/mfs/mfsiom.h b/sys/ufs/mfs/mfsiom.h index 16eebbe..a420aa3 100644 --- a/sys/ufs/mfs/mfsiom.h +++ b/sys/ufs/mfs/mfsiom.h @@ -31,8 +31,13 @@ * SUCH DAMAGE. * * @(#)mfsiom.h 8.1 (Berkeley) 6/11/93 - * $Id$ + * $Id: mfsiom.h,v 1.2 1994/08/02 07:54:45 davidg Exp $ */ +#ifndef _UFS_MFS_MFSIOM_H_ +#define _UFS_MFS_MFSIOM_H_ + #define MFS_MAPREG (MAXPHYS/NBPG + 2) /* Kernel mapping pte's */ #define MFS_MAPSIZE 10 /* Size of alloc map for pte's */ + +#endif diff --git a/sys/ufs/mfs/mfsnode.h b/sys/ufs/mfs/mfsnode.h index 886edd8..28d9254 100644 --- a/sys/ufs/mfs/mfsnode.h +++ b/sys/ufs/mfs/mfsnode.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)mfsnode.h 8.2 (Berkeley) 8/11/93 - * $Id$ + * $Id: mfsnode.h,v 1.2 1994/08/02 07:54:46 davidg Exp $ */ +#ifndef _UFS_MFS_MFSNODE_H_ +#define _UFS_MFS_MFSNODE_H_ + /* * This structure defines the control data for the memory based file system. */ @@ -85,3 +88,5 @@ struct mfsnode { #define mfs_truncate ((int (*) __P((struct vop_truncate_args *)))mfs_badop) #define mfs_update ((int (*) __P((struct vop_update_args *)))mfs_badop) #define mfs_bwrite ((int (*) __P((struct vop_bwrite_args *)))vn_bwrite) + +#endif diff --git a/sys/ufs/ufs/dinode.h b/sys/ufs/ufs/dinode.h index fc39dfb..b91843b 100644 --- a/sys/ufs/ufs/dinode.h +++ b/sys/ufs/ufs/dinode.h @@ -36,9 +36,12 @@ * SUCH DAMAGE. * * @(#)dinode.h 8.3 (Berkeley) 1/21/94 - * $Id$ + * $Id: dinode.h,v 1.2 1994/08/02 07:54:47 davidg Exp $ */ +#ifndef _UFS_UFS_DINODE_H_ +#define _UFS_UFS_DINODE_H_ + /* * The root inode is the root of the file system. Inode 0 can't be used for * normal purposes and historically bad blocks were linked to inode 1, thus @@ -107,3 +110,5 @@ struct dinode { #define IFREG 0100000 /* Regular file. */ #define IFLNK 0120000 /* Symbolic link. */ #define IFSOCK 0140000 /* UNIX domain socket. */ + +#endif diff --git a/sys/ufs/ufs/dir.h b/sys/ufs/ufs/dir.h index 6dca4dc..f18eca8 100644 --- a/sys/ufs/ufs/dir.h +++ b/sys/ufs/ufs/dir.h @@ -36,11 +36,11 @@ * SUCH DAMAGE. * * @(#)dir.h 8.2 (Berkeley) 1/21/94 - * $Id$ + * $Id: dir.h,v 1.2 1994/08/02 07:54:48 davidg Exp $ */ -#ifndef _DIR_H_ -#define _DIR_H_ +#ifndef _UFS_UFS_DIR_H_ +#define _UFS_UFS_DIR_H_ /* * A directory consists of some number of blocks of DIRBLKSIZ diff --git a/sys/ufs/ufs/inode.h b/sys/ufs/ufs/inode.h index e379443..cda8fb44b 100644 --- a/sys/ufs/ufs/inode.h +++ b/sys/ufs/ufs/inode.h @@ -36,9 +36,12 @@ * SUCH DAMAGE. * * @(#)inode.h 8.4 (Berkeley) 1/21/94 - * $Id$ + * $Id: inode.h,v 1.2 1994/08/02 07:54:49 davidg Exp $ */ +#ifndef _UFS_UFS_INODE_H_ +#define _UFS_UFS_INODE_H_ + #include <ufs/ufs/dinode.h> /* @@ -160,4 +163,6 @@ struct ufid { ino_t ufid_ino; /* File number (ino). */ long ufid_gen; /* Generation number. */ }; + +#endif #endif /* KERNEL */ diff --git a/sys/ufs/ufs/quota.h b/sys/ufs/ufs/quota.h index 039a6fd..35dafa9 100644 --- a/sys/ufs/ufs/quota.h +++ b/sys/ufs/ufs/quota.h @@ -34,11 +34,11 @@ * SUCH DAMAGE. * * @(#)quota.h 8.1 (Berkeley) 6/11/93 - * $Id$ + * $Id: quota.h,v 1.2 1994/08/02 07:54:51 davidg Exp $ */ -#ifndef _QUOTA_ -#define _QUOTA_ +#ifndef _UFS_UFS_QUOTA_ +#define _UFS_UFS_QUOTA_ /* * Definitions for disk quotas imposed on the average user diff --git a/sys/ufs/ufs/ufs_extern.h b/sys/ufs/ufs/ufs_extern.h index 590b343..6ae7d18 100644 --- a/sys/ufs/ufs/ufs_extern.h +++ b/sys/ufs/ufs/ufs_extern.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)ufs_extern.h 8.3 (Berkeley) 4/16/94 - * $Id$ + * $Id: ufs_extern.h,v 1.2 1994/08/02 07:54:54 davidg Exp $ */ +#ifndef _UFS_UFS_UFS_EXTERN_H_ +#define _UFS_UFS_UFS_EXTERN_H_ + struct buf; struct direct; struct disklabel; @@ -124,3 +127,5 @@ int ufsfifo_write __P((struct vop_write_args *)); int ufsfifo_close __P((struct vop_close_args *)); #endif __END_DECLS + +#endif diff --git a/sys/ufs/ufs/ufsmount.h b/sys/ufs/ufs/ufsmount.h index 084abeb..02fdff2 100644 --- a/sys/ufs/ufs/ufsmount.h +++ b/sys/ufs/ufs/ufsmount.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * @(#)ufsmount.h 8.2 (Berkeley) 1/12/94 - * $Id$ + * $Id: ufsmount.h,v 1.2 1994/08/02 07:55:04 davidg Exp $ */ +#ifndef _UFS_UFS_UFSMOUNT_H_ +#define _UFS_UFS_UFSMOUNT_H_ + struct buf; struct inode; struct nameidata; @@ -81,4 +84,4 @@ struct ufsmount { #define is_sequential(ump, a, b) ((b) == (a) + ump->um_seqinc) #define MNINDIR(ump) ((ump)->um_nindir) - +#endif |