summaryrefslogtreecommitdiffstats
path: root/sys/sys/msg.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
committerpeter <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
commit15b9bcb121e1f3735a2c98a11afdb52a03301d7e (patch)
treee999c95eb5db56737efc17feeb385a77941021bb /sys/sys/msg.h
parent9ed7cb48bf4a00a23e7489706b0effe1c516cb5b (diff)
downloadFreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.zip
FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.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/sys/msg.h')
-rw-r--r--sys/sys/msg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/msg.h b/sys/sys/msg.h
index 3dd70f1..bb63f92 100644
--- a/sys/sys/msg.h
+++ b/sys/sys/msg.h
@@ -92,7 +92,7 @@ struct msginfo {
msgssz, /* size of a message segment (see notes above) */
msgseg; /* number of message segments */
};
-#ifdef KERNEL
+#ifdef _KERNEL
extern struct msginfo msginfo;
#ifndef MSGSSZ
@@ -141,9 +141,9 @@ extern struct msqid_ds *msqids; /* MSGMNI msqid_ds struct's */
#define MSG_LOCKED 01000 /* Is this msqid_ds locked? */
-#endif /* KERNEL */
+#endif /* _KERNEL */
-#ifndef KERNEL
+#ifndef _KERNEL
#include <sys/cdefs.h>
__BEGIN_DECLS
@@ -153,6 +153,6 @@ int msgget __P((key_t, int));
int msgsnd __P((int, void *, size_t, int));
int msgrcv __P((int, void*, size_t, long, int));
__END_DECLS
-#endif /* !KERNEL */
+#endif
#endif /* !_SYS_MSG_H_ */
OpenPOWER on IntegriCloud