mirror of
git://git.musl-libc.org/musl
synced 2024-12-26 00:22:35 +00:00
9b35ed3fef
msg.h was wrong for big-endian (wrong endiannness padding). shm.h was just plain wrong (mips is not supposed to have padding). both changes were tested using libc-test on qemu-system-mips.
26 lines
443 B
C
26 lines
443 B
C
struct msqid_ds
|
|
{
|
|
struct ipc_perm msg_perm;
|
|
#if _MIPSEL || __MIPSEL || __MIPSEL__
|
|
time_t msg_stime;
|
|
int __unused1;
|
|
time_t msg_rtime;
|
|
int __unused2;
|
|
time_t msg_ctime;
|
|
int __unused3;
|
|
#else
|
|
int __unused1;
|
|
time_t msg_stime;
|
|
int __unused2;
|
|
time_t msg_rtime;
|
|
int __unused3;
|
|
time_t msg_ctime;
|
|
#endif
|
|
unsigned long msg_cbytes;
|
|
msgqnum_t msg_qnum;
|
|
msglen_t msg_qbytes;
|
|
pid_t msg_lspid;
|
|
pid_t msg_lrpid;
|
|
unsigned long __unused[2];
|
|
};
|