Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-06-08 14:53:40 +0400
committerCorinna Vinschen <corinna@vinschen.de>2004-06-08 14:53:40 +0400
commit35fe2c081188f04ad9600696a0920c4930e6df09 (patch)
tree463fe8a008481a93522f441c038a8de0ab9ee054
parent694a67c4e1ce86435d3fd0f1d5559db9dcd28eef (diff)
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/include/cygwin/ipc.h2
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)