Skip to content

Commit a6c93e2

Browse files
committed
Update struct shmid_ds
1 parent 03fe6a9 commit a6c93e2

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
@@ -109,16 +109,13 @@ s! {
109109
pub shm_perm: ::ipc_perm,
110110
pub shm_segsz: ::size_t,
111111
pub shm_atime: ::time_t,
112-
__unused1: ::c_ulong,
113112
pub shm_dtime: ::time_t,
114-
__unused2: ::c_ulong,
115113
pub shm_ctime: ::time_t,
116-
__unused3: ::c_ulong,
117114
pub shm_cpid: ::pid_t,
118115
pub shm_lpid: ::pid_t,
119116
pub shm_nattch: ::shmatt_t,
120-
__unused4: ::c_ulong,
121-
__unused5: ::c_ulong
117+
__glibc_reserved5: ::c_ulong,
118+
__glibc_reserved6: ::c_ulong,
122119
}
123120

124121
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
@@ -109,14 +109,14 @@ s! {
109109

110110
pub struct shmid_ds {
111111
pub shm_perm: ::ipc_perm,
112-
__glibc_reserved1: ::c_uint,
112+
pub shm_segsz: ::size_t,
113+
//__glibc_reserved1: ::c_uint,
113114
pub shm_atime: ::time_t,
114-
__glibc_reserved2: ::c_uint,
115+
//__glibc_reserved2: ::c_uint,
115116
pub shm_dtime: ::time_t,
116-
__glibc_reserved3: ::c_uint,
117+
//__glibc_reserved3: ::c_uint,
117118
pub shm_ctime: ::time_t,
118-
__glibc_reserved4: ::c_uint,
119-
pub shm_segsz: ::size_t,
119+
//__glibc_reserved4: ::c_uint,
120120
pub shm_cpid: ::pid_t,
121121
pub shm_lpid: ::pid_t,
122122
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
@@ -186,11 +186,8 @@ s! {
186186
pub shm_perm: ::ipc_perm,
187187
pub shm_segsz: ::size_t,
188188
pub shm_atime: ::time_t,
189-
__unused1: ::c_ulong,
190189
pub shm_dtime: ::time_t,
191-
__unused2: ::c_ulong,
192190
pub shm_ctime: ::time_t,
193-
__unused3: ::c_ulong,
194191
pub shm_cpid: ::pid_t,
195192
pub shm_lpid: ::pid_t,
196193
pub shm_nattch: ::shmatt_t,

0 commit comments

Comments
 (0)