diff options
author | peter <peter@FreeBSD.org> | 1999-12-29 05:07:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-29 05:07:58 +0000 |
commit | d53e4c1d809338e9b317d95bdded2f7f7a986556 (patch) | |
tree | 916004bdaa3cf47d2a92effe8c981e7d1ff5ccec /sys/fs/nwfs | |
parent | 15b9bcb121e1f3735a2c98a11afdb52a03301d7e (diff) | |
download | FreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.zip FreeBSD-src-d53e4c1d809338e9b317d95bdded2f7f7a986556.tar.gz |
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.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r-- | sys/fs/nwfs/nwfs.h | 4 | ||||
-rw-r--r-- | sys/fs/nwfs/nwfs_mount.h | 4 |
2 files changed, 4 insertions, 4 deletions
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 <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_ */ 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_ */ |