summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/gnu/ext2fs/ext2_mount.h7
-rw-r--r--sys/gnu/ext2fs/inode.h7
-rw-r--r--sys/gnu/fs/ext2fs/ext2_mount.h7
-rw-r--r--sys/gnu/fs/ext2fs/inode.h7
-rw-r--r--sys/ufs/lfs/lfs.h7
-rw-r--r--sys/ufs/lfs/lfs_extern.h7
-rw-r--r--sys/ufs/mfs/mfs_extern.h7
-rw-r--r--sys/ufs/mfs/mfsiom.h7
-rw-r--r--sys/ufs/mfs/mfsnode.h7
-rw-r--r--sys/ufs/ufs/dinode.h7
-rw-r--r--sys/ufs/ufs/dir.h6
-rw-r--r--sys/ufs/ufs/inode.h7
-rw-r--r--sys/ufs/ufs/quota.h6
-rw-r--r--sys/ufs/ufs/ufs_extern.h7
-rw-r--r--sys/ufs/ufs/ufsmount.h7
-rw-r--r--sys/vm/vm_extern.h7
-rw-r--r--sys/vm/vm_pageout.h7
17 files changed, 93 insertions, 24 deletions
diff --git a/sys/gnu/ext2fs/ext2_mount.h b/sys/gnu/ext2fs/ext2_mount.h
index 084abeb..02fdff2 100644
--- a/sys/gnu/ext2fs/ext2_mount.h
+++ b/sys/gnu/ext2fs/ext2_mount.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
diff --git a/sys/gnu/ext2fs/inode.h b/sys/gnu/ext2fs/inode.h
index e379443..cda8fb44b 100644
--- a/sys/gnu/ext2fs/inode.h
+++ b/sys/gnu/ext2fs/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/gnu/fs/ext2fs/ext2_mount.h b/sys/gnu/fs/ext2fs/ext2_mount.h
index 084abeb..02fdff2 100644
--- a/sys/gnu/fs/ext2fs/ext2_mount.h
+++ b/sys/gnu/fs/ext2fs/ext2_mount.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
diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h
index e379443..cda8fb44b 100644
--- a/sys/gnu/fs/ext2fs/inode.h
+++ b/sys/gnu/fs/ext2fs/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/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
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index 818e149..8a15cc3 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)vm_extern.h 8.2 (Berkeley) 1/12/94
- * $Id$
+ * $Id: vm_extern.h,v 1.3 1994/08/02 07:55:17 davidg Exp $
*/
+#ifndef _VM_VM_EXTERN_H_
+#define _VM_VM_EXTERN_H_
+
struct buf;
struct loadavg;
struct proc;
@@ -134,3 +137,5 @@ boolean_t vnode_pager_uncache __P((struct vnode *));
void vslock __P((caddr_t, u_int));
void vsunlock __P((caddr_t, u_int, int));
#endif
+
+#endif
diff --git a/sys/vm/vm_pageout.h b/sys/vm/vm_pageout.h
index 66f0bbe..461a791 100644
--- a/sys/vm/vm_pageout.h
+++ b/sys/vm/vm_pageout.h
@@ -61,9 +61,12 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_pageout.h,v 1.3 1994/08/02 07:55:34 davidg Exp $
+ * $Id: vm_pageout.h,v 1.4 1994/08/18 22:36:08 wollman Exp $
*/
+#ifndef _VM_VM_PAGEOUT_H_
+#define _VM_VM_PAGEOUT_H_
+
/*
* Header file for pageout daemon.
*/
@@ -110,3 +113,5 @@ int vm_pageout_scan __P((void));
void vm_pageout_page __P((vm_page_t, vm_object_t));
void vm_pageout_cluster __P((vm_page_t, vm_object_t));
#endif
+
+#endif
OpenPOWER on IntegriCloud