From d53e4c1d809338e9b317d95bdded2f7f7a986556 Mon Sep 17 00:00:00 2001 From: peter 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/fs/nwfs/nwfs.h | 4 ++-- sys/fs/nwfs/nwfs_mount.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/fs/nwfs') diff --git a/sys/fs/nwfs/nwfs.h b/sys/fs/nwfs/nwfs.h index 51ae76b..e547869 100644 --- a/sys/fs/nwfs/nwfs.h +++ b/sys/fs/nwfs/nwfs.h @@ -49,7 +49,7 @@ #define NWFSIOC_GETEINFO _IOR('n',2,struct nw_entry_info) #define NWFSIOC_GETNS _IOR('n',3,int) -#ifdef KERNEL +#ifdef _KERNEL #include #include @@ -78,6 +78,6 @@ int nwfs_ioctl(struct vop_ioctl_args *ap); int nwfs_doio(struct buf *bp, struct ucred *cr, struct proc *p); int nwfs_vinvalbuf(struct vnode *vp, int flags, struct ucred *cred, struct proc *p, int intrflg); -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* _NWFS_H_ */ diff --git a/sys/fs/nwfs/nwfs_mount.h b/sys/fs/nwfs/nwfs_mount.h index 02702ed..613e685 100644 --- a/sys/fs/nwfs/nwfs_mount.h +++ b/sys/fs/nwfs/nwfs_mount.h @@ -70,11 +70,11 @@ struct nwfs_args { struct ncp_nlstables nls; }; -#ifdef KERNEL +#ifdef _KERNEL #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_NWFSMNT); #endif -#endif /* KERNEL */ +#endif #endif /* !_NWFS_MOUNT_H_ */ -- cgit v1.1