diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2002-09-04 20:15:39 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2002-09-04 20:15:39 +0000 |
commit | 549d4751c6f57557920712cd8fcd19578c67345e (patch) | |
tree | 57ad1e19ca8ff8530937b58b30da0f935d416e69 /libc/sysdeps | |
parent | b7f893cc42716cf360d0ac23ed7bf3d44c1251dc (diff) |
Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux
Test Project to compile as well as be consistent with the architecture
specific files. Maybe eventually the architecture specific files could
be removed all together.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/bits/ipc.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/bits/msq.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/bits/ipc.h b/libc/sysdeps/linux/common/bits/ipc.h index 54412ff32..97f9b5808 100644 --- a/libc/sysdeps/linux/common/bits/ipc.h +++ b/libc/sysdeps/linux/common/bits/ipc.h @@ -45,12 +45,12 @@ typedef int __kernel_key_t; /* Data structure used to pass permission information to IPC operations. */ struct ipc_perm { - __kernel_key_t key; + __kernel_key_t __key; __kernel_uid_t uid; __kernel_gid_t gid; __kernel_uid_t cuid; __kernel_gid_t cgid; __kernel_mode_t mode; - unsigned short seq; + unsigned short __seq; }; diff --git a/libc/sysdeps/linux/common/bits/msq.h b/libc/sysdeps/linux/common/bits/msq.h index bc5a36436..c5b3ca8df 100644 --- a/libc/sysdeps/linux/common/bits/msq.h +++ b/libc/sysdeps/linux/common/bits/msq.h @@ -44,7 +44,7 @@ struct msqid_ds { __kernel_time_t msg_ctime; /* last change time */ unsigned long msg_lcbytes; /* Reuse junk fields for 32 bit */ unsigned long msg_lqbytes; /* ditto */ - unsigned short msg_cbytes; /* current number of bytes on queue */ + unsigned short __msg_cbytes; /* current number of bytes on queue */ unsigned short msg_qnum; /* number of messages in queue */ unsigned short msg_qbytes; /* max number of bytes on queue */ __kernel_ipc_pid_t msg_lspid; /* pid of last msgsnd */ |