diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
commit | 664a31e4967a61ec61870f45adc2f1400617993e (patch) | |
tree | f6e6a9488aad27e9b1298da3083e214c1c209505 /sys/sys/mount.h | |
parent | a0b57fb738b797a1aa540b8360260b19b6470bc4 (diff) | |
download | src-664a31e4967a61ec61870f45adc2f1400617993e.tar.gz src-664a31e4967a61ec61870f45adc2f1400617993e.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=55205
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r-- | sys/sys/mount.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 51743e90295d..49924236fb16 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -39,11 +39,11 @@ #include <sys/ucred.h> -#ifndef KERNEL +#ifndef _KERNEL #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE) #include <sys/stat.h> #endif /* !_POSIX_C_SOURCE */ -#endif /* !KERNEL */ +#endif /* !_KERNEL */ #include <sys/queue.h> #include <sys/lock.h> @@ -291,7 +291,7 @@ struct ovfsconf { #define VFCF_LOOPBACK 0x00100000 /* aliases some other mounted FS */ #define VFCF_UNICODE 0x00200000 /* stores file names as Unicode*/ -#ifdef KERNEL +#ifdef _KERNEL #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_MOUNT); @@ -447,7 +447,7 @@ int vfs_stduninit __P((struct vfsconf *)); int vfs_stdextattrctl __P((struct mount *mp, int cmd, char *attrname, caddr_t arg, struct proc *p)); -#else /* !KERNEL */ +#else /* !_KERNEL */ #include <sys/cdefs.h> @@ -475,6 +475,6 @@ int vfsisloadable __P((const char *)); int vfsload __P((const char *)); __END_DECLS -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* !_SYS_MOUNT_H_ */ |