diff options
author | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
commit | 15b9bcb121e1f3735a2c98a11afdb52a03301d7e (patch) | |
tree | e999c95eb5db56737efc17feeb385a77941021bb /sys/sys/ipc.h | |
parent | 9ed7cb48bf4a00a23e7489706b0effe1c516cb5b (diff) | |
download | FreeBSD-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/ipc.h')
-rw-r--r-- | sys/sys/ipc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/ipc.h b/sys/sys/ipc.h index d81c5bc..38892e9 100644 --- a/sys/sys/ipc.h +++ b/sys/sys/ipc.h @@ -76,7 +76,7 @@ struct ipc_perm { #define IPC_SET 1 /* set options */ #define IPC_STAT 2 /* get options */ -#ifdef KERNEL +#ifdef _KERNEL /* Macros to convert between ipc ids and array indices or sequence ids */ #define IPCID_TO_IX(id) ((id) & 0xffff) #define IPCID_TO_SEQ(id) (((id) >> 16) & 0xffff) @@ -85,7 +85,7 @@ struct ipc_perm { struct proc; int ipcperm __P((struct proc *, struct ipc_perm *, int)); -#else /* ! KERNEL */ +#else /* ! _KERNEL */ /* XXX doesn't really belong here, but has been historical practice in SysV. */ @@ -95,6 +95,6 @@ __BEGIN_DECLS key_t ftok __P((const char *, int)); __END_DECLS -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* !_SYS_IPC_H_ */ |