aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/nwfs/nwfs.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-12-29 05:07:58 +0000
commitc447342094276b4d604449bb776063c7b88c4992 (patch)
treeef56d86971063bc4ba98e49e723dab1d7ebf8a56 /sys/fs/nwfs/nwfs.h
parent664a31e4967a61ec61870f45adc2f1400617993e (diff)
downloadsrc-c447342094276b4d604449bb776063c7b88c4992.tar.gz
src-c447342094276b4d604449bb776063c7b88c4992.zip
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.
Notes
Notes: svn path=/head/; revision=55206
Diffstat (limited to 'sys/fs/nwfs/nwfs.h')
-rw-r--r--sys/fs/nwfs/nwfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nwfs/nwfs.h b/sys/fs/nwfs/nwfs.h
index 51ae76b3b1a8..e5478692b13e 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 <sys/vnode.h>
#include <sys/mount.h>
@@ -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_ */