From c447342094276b4d604449bb776063c7b88c4992 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 29 Dec 1999 05:07:58 +0000 Subject: Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. --- sys/gnu/ext2fs/ext2_mount.h | 4 ++-- sys/gnu/ext2fs/inode.h | 4 ++-- sys/gnu/fs/ext2fs/ext2_mount.h | 4 ++-- sys/gnu/fs/ext2fs/inode.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sys/gnu') diff --git a/sys/gnu/ext2fs/ext2_mount.h b/sys/gnu/ext2fs/ext2_mount.h index 05f19da73868d..065254521408b 100644 --- a/sys/gnu/ext2fs/ext2_mount.h +++ b/sys/gnu/ext2fs/ext2_mount.h @@ -55,7 +55,7 @@ struct mfs_args { u_long size; /* size of file system */ }; -#ifdef KERNEL +#ifdef _KERNEL #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_UFSMNT); @@ -125,6 +125,6 @@ struct ufsmount { #define MNINDIR(ump) ((ump)->um_nindir) #define blkptrtodb(ump, b) ((b) << (ump)->um_bptrtodb) #define is_sequential(ump, a, b) ((b) == (a) + ump->um_seqinc) -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif diff --git a/sys/gnu/ext2fs/inode.h b/sys/gnu/ext2fs/inode.h index 78fbc0adaff59..83960b0d20f3c 100644 --- a/sys/gnu/ext2fs/inode.h +++ b/sys/gnu/ext2fs/inode.h @@ -130,7 +130,7 @@ struct inode { #define IN_HASHED 0x0080 /* Inode is on hash list */ #define IN_LAZYMOD 0x0100 /* Modified, but don't write yet. */ -#ifdef KERNEL +#ifdef _KERNEL /* * Structure used to pass around logical block paths generated by * ufs_getlbns and used by truncate and bmap code. @@ -156,6 +156,6 @@ struct ufid { ino_t ufid_ino; /* File number (ino). */ int32_t ufid_gen; /* Generation number. */ }; -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* !_UFS_UFS_INODE_H_ */ diff --git a/sys/gnu/fs/ext2fs/ext2_mount.h b/sys/gnu/fs/ext2fs/ext2_mount.h index 05f19da73868d..065254521408b 100644 --- a/sys/gnu/fs/ext2fs/ext2_mount.h +++ b/sys/gnu/fs/ext2fs/ext2_mount.h @@ -55,7 +55,7 @@ struct mfs_args { u_long size; /* size of file system */ }; -#ifdef KERNEL +#ifdef _KERNEL #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_UFSMNT); @@ -125,6 +125,6 @@ struct ufsmount { #define MNINDIR(ump) ((ump)->um_nindir) #define blkptrtodb(ump, b) ((b) << (ump)->um_bptrtodb) #define is_sequential(ump, a, b) ((b) == (a) + ump->um_seqinc) -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 78fbc0adaff59..83960b0d20f3c 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -130,7 +130,7 @@ struct inode { #define IN_HASHED 0x0080 /* Inode is on hash list */ #define IN_LAZYMOD 0x0100 /* Modified, but don't write yet. */ -#ifdef KERNEL +#ifdef _KERNEL /* * Structure used to pass around logical block paths generated by * ufs_getlbns and used by truncate and bmap code. @@ -156,6 +156,6 @@ struct ufid { ino_t ufid_ino; /* File number (ino). */ int32_t ufid_gen; /* Generation number. */ }; -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* !_UFS_UFS_INODE_H_ */ -- cgit v1.3