Spell `unsigned short' in a way which does not depend on namespace pollution.
Note that this is still the wrong type, but we are not ready to break the ABI; this change simply allows programs which specify a strict SUSv3 namespace to compile. (They may still have semantic errors, since SUSv3 specifies correct types.)
This commit is contained in:
parent
7d5a41c359
commit
06d7d664b3
@ -77,13 +77,13 @@ typedef __uid_t uid_t;
|
||||
* XXX almost all members have wrong types.
|
||||
*/
|
||||
struct ipc_perm {
|
||||
ushort cuid; /* creator user id */
|
||||
ushort cgid; /* creator group id */
|
||||
ushort uid; /* user id */
|
||||
ushort gid; /* group id */
|
||||
ushort mode; /* r/w permission */
|
||||
ushort seq; /* sequence # (to generate unique msg/sem/shm id) */
|
||||
key_t key; /* user specified msg/sem/shm key */
|
||||
unsigned short cuid; /* creator user id */
|
||||
unsigned short cgid; /* creator group id */
|
||||
unsigned short uid; /* user id */
|
||||
unsigned short gid; /* group id */
|
||||
unsigned short mode; /* r/w permission */
|
||||
unsigned short seq; /* sequence # (to generate unique ipcid) */
|
||||
key_t key; /* user specified msg/sem/shm key */
|
||||
};
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
|
Loading…
Reference in New Issue
Block a user