diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-12-29 05:07:58 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-12-29 05:07:58 +0000 |
commit | c447342094276b4d604449bb776063c7b88c4992 (patch) | |
tree | ef56d86971063bc4ba98e49e723dab1d7ebf8a56 /sys/posix4/mqueue.h | |
parent | 664a31e4967a61ec61870f45adc2f1400617993e (diff) | |
download | src-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/posix4/mqueue.h')
-rw-r--r-- | sys/posix4/mqueue.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/posix4/mqueue.h b/sys/posix4/mqueue.h index c59a4aa84f06..c2fc38e011e5 100644 --- a/sys/posix4/mqueue.h +++ b/sys/posix4/mqueue.h @@ -34,6 +34,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * + * $FreeBSD$ */ #include <sys/_posix.h> @@ -56,7 +57,7 @@ struct mq_attr { long mq_curmsgs; /* number of messages currently queued */ }; -#ifndef KERNEL +#ifndef _KERNEL #include <sys/cdefs.h> @@ -71,6 +72,6 @@ int mq_setattr __P((mqd_t, const struct mq_attr *, struct mq_attr *)); int mq_getattr __P((mqd_t, struct mq_attr *)); __END_DECLS -#endif /* KERNEL */ +#endif #endif /* _MQUEUE_H_ */ |