projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ed263
)
use 64-bit msqid_ds layout in the generic version of bits/msg.h
author
Rich Felker
<dalias@aerifal.cx>
Mon, 29 Jul 2019 22:23:27 +0000
(18:23 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 29 Jul 2019 22:23:27 +0000
(18:23 -0400)
this layout is more common already than the old generic, and should
become even more common in the future with new archs added and with
64-bit time_t on 32-bit archs.
arch/generic/bits/msg.h
patch
|
blob
|
history
diff --git
a/arch/generic/bits/msg.h
b/arch/generic/bits/msg.h
index bc8436c4ad26797d69e762b701aa906b9bed1271..2e23ca27f580705efe87a0ab6e9742daaf047577 100644
(file)
--- a/
arch/generic/bits/msg.h
+++ b/
arch/generic/bits/msg.h
@@
-1,11
+1,8
@@
struct msqid_ds {
struct ipc_perm msg_perm;
time_t msg_stime;
- int __unused1;
time_t msg_rtime;
- int __unused2;
time_t msg_ctime;
- int __unused3;
unsigned long msg_cbytes;
msgqnum_t msg_qnum;
msglen_t msg_qbytes;