소스 검색

use 64-bit msqid_ds layout in the generic version of bits/msg.h

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.
Rich Felker 5 년 전
부모
커밋
c375585c66
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      arch/generic/bits/msg.h

+ 0 - 3
arch/generic/bits/msg.h

@@ -1,11 +1,8 @@
 struct msqid_ds {
 struct msqid_ds {
 	struct ipc_perm msg_perm;
 	struct ipc_perm msg_perm;
 	time_t msg_stime;
 	time_t msg_stime;
-	int __unused1;
 	time_t msg_rtime;
 	time_t msg_rtime;
-	int __unused2;
 	time_t msg_ctime;
 	time_t msg_ctime;
-	int __unused3;
 	unsigned long msg_cbytes;
 	unsigned long msg_cbytes;
 	msgqnum_t msg_qnum;
 	msgqnum_t msg_qnum;
 	msglen_t msg_qbytes;
 	msglen_t msg_qbytes;