Skip to content

Commit f42d2d1

Browse files
committed
Update struct shmid_ds
1 parent 614c4c3 commit f42d2d1

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

src/unix/linux_like/linux/gnu/b32/arm/mod.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,13 @@ s! {
7777
pub shm_perm: ::ipc_perm,
7878
pub shm_segsz: ::size_t,
7979
pub shm_atime: ::time_t,
80-
__unused1: ::c_ulong,
8180
pub shm_dtime: ::time_t,
82-
__unused2: ::c_ulong,
8381
pub shm_ctime: ::time_t,
84-
__unused3: ::c_ulong,
8582
pub shm_cpid: ::pid_t,
8683
pub shm_lpid: ::pid_t,
8784
pub shm_nattch: ::shmatt_t,
88-
__unused4: ::c_ulong,
89-
__unused5: ::c_ulong
85+
__glibc_reserved5: ::c_ulong,
86+
__glibc_reserved6: ::c_ulong,
9087
}
9188

9289
pub struct msqid_ds {

src/unix/linux_like/linux/gnu/b32/powerpc.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ s! {
9696

9797
pub struct shmid_ds {
9898
pub shm_perm: ::ipc_perm,
99-
__glibc_reserved1: ::c_uint,
99+
pub shm_segsz: ::size_t,
100+
//__glibc_reserved1: ::c_uint,
100101
pub shm_atime: ::time_t,
101-
__glibc_reserved2: ::c_uint,
102+
//__glibc_reserved2: ::c_uint,
102103
pub shm_dtime: ::time_t,
103-
__glibc_reserved3: ::c_uint,
104+
//__glibc_reserved3: ::c_uint,
104105
pub shm_ctime: ::time_t,
105-
__glibc_reserved4: ::c_uint,
106-
pub shm_segsz: ::size_t,
106+
//__glibc_reserved4: ::c_uint,
107107
pub shm_cpid: ::pid_t,
108108
pub shm_lpid: ::pid_t,
109109
pub shm_nattch: ::shmatt_t,

src/unix/linux_like/linux/gnu/b32/x86/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,8 @@ s! {
173173
pub shm_perm: ::ipc_perm,
174174
pub shm_segsz: ::size_t,
175175
pub shm_atime: ::time_t,
176-
__unused1: ::c_ulong,
177176
pub shm_dtime: ::time_t,
178-
__unused2: ::c_ulong,
179177
pub shm_ctime: ::time_t,
180-
__unused3: ::c_ulong,
181178
pub shm_cpid: ::pid_t,
182179
pub shm_lpid: ::pid_t,
183180
pub shm_nattch: ::shmatt_t,

0 commit comments

Comments
 (0)