diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-06-08 10:53:40 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-06-08 10:53:40 +0000 |
commit | 35fe2c081188f04ad9600696a0920c4930e6df09 (patch) | |
tree | 463fe8a008481a93522f441c038a8de0ab9ee054 /winsup/cygwin | |
parent | 694a67c4e1ce86435d3fd0f1d5559db9dcd28eef (diff) | |
download | cygnal-35fe2c081188f04ad9600696a0920c4930e6df09.tar.gz cygnal-35fe2c081188f04ad9600696a0920c4930e6df09.tar.bz2 cygnal-35fe2c081188f04ad9600696a0920c4930e6df09.zip |
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/ipc.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f21252c76..93a2bc351 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 Egor Duda <deo@corpit.ru> + + * include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system + utilities, to make it consistent with declaration of struct seminfo. + 2004-06-08 Pierre Humblet <pierre.humblet@ieee.org> * path.cc (fchdir): Pass the Posix path to chdir. diff --git a/winsup/cygwin/include/cygwin/ipc.h b/winsup/cygwin/include/cygwin/ipc.h index 7b04653d3..783778822 100644 --- a/winsup/cygwin/include/cygwin/ipc.h +++ b/winsup/cygwin/include/cygwin/ipc.h @@ -48,7 +48,9 @@ struct ipc_perm #define IPC_RMID 0x1000 /* Remove identifier. */ #define IPC_SET 0x1001 /* Set options. */ #define IPC_STAT 0x1002 /* Get options. */ +#ifdef _KERNEL #define IPC_INFO 0x1003 /* For ipcs(8). */ +#endif #ifdef _KERNEL #define IPCID_TO_IX(id) ((id) & 0xffff) |