@@ -143,46 +143,46 @@ s! {
143
143
pub ru_stime: timeval,
144
144
pub ru_maxrss: c_long,
145
145
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
146
- __pad1: u32 ,
146
+ __pad1: Padding < u32 > ,
147
147
pub ru_ixrss: c_long,
148
148
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
149
- __pad2: u32 ,
149
+ __pad2: Padding < u32 > ,
150
150
pub ru_idrss: c_long,
151
151
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
152
- __pad3: u32 ,
152
+ __pad3: Padding < u32 > ,
153
153
pub ru_isrss: c_long,
154
154
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
155
- __pad4: u32 ,
155
+ __pad4: Padding < u32 > ,
156
156
pub ru_minflt: c_long,
157
157
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
158
- __pad5: u32 ,
158
+ __pad5: Padding < u32 > ,
159
159
pub ru_majflt: c_long,
160
160
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
161
- __pad6: u32 ,
161
+ __pad6: Padding < u32 > ,
162
162
pub ru_nswap: c_long,
163
163
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
164
- __pad7: u32 ,
164
+ __pad7: Padding < u32 > ,
165
165
pub ru_inblock: c_long,
166
166
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
167
- __pad8: u32 ,
167
+ __pad8: Padding < u32 > ,
168
168
pub ru_oublock: c_long,
169
169
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
170
- __pad9: u32 ,
170
+ __pad9: Padding < u32 > ,
171
171
pub ru_msgsnd: c_long,
172
172
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
173
- __pad10: u32 ,
173
+ __pad10: Padding < u32 > ,
174
174
pub ru_msgrcv: c_long,
175
175
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
176
- __pad11: u32 ,
176
+ __pad11: Padding < u32 > ,
177
177
pub ru_nsignals: c_long,
178
178
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
179
- __pad12: u32 ,
179
+ __pad12: Padding < u32 > ,
180
180
pub ru_nvcsw: c_long,
181
181
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
182
- __pad13: u32 ,
182
+ __pad13: Padding < u32 > ,
183
183
pub ru_nivcsw: c_long,
184
184
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
185
- __pad14: u32 ,
185
+ __pad14: Padding < u32 > ,
186
186
}
187
187
188
188
pub struct in_addr {
@@ -449,11 +449,11 @@ s! {
449
449
pub gl_offs: size_t,
450
450
pub gl_flags: c_int,
451
451
452
- __unused1: * mut c_void,
453
- __unused2: * mut c_void,
454
- __unused3: * mut c_void,
455
- __unused4: * mut c_void,
456
- __unused5: * mut c_void,
452
+ __unused1: Padding < * mut c_void> ,
453
+ __unused2: Padding < * mut c_void> ,
454
+ __unused3: Padding < * mut c_void> ,
455
+ __unused4: Padding < * mut c_void> ,
456
+ __unused5: Padding < * mut c_void> ,
457
457
}
458
458
459
459
pub struct ifaddrs {
538
538
pub ssi_stime: u64 ,
539
539
pub ssi_addr: u64 ,
540
540
pub ssi_addr_lsb: u16 ,
541
- _pad2: u16 ,
541
+ _pad2: Padding < u16 > ,
542
542
pub ssi_syscall: i32 ,
543
543
pub ssi_call_addr: u64 ,
544
544
pub ssi_arch: u32 ,
795
795
pub shm_cpid: crate :: pid_t,
796
796
pub shm_lpid: crate :: pid_t,
797
797
pub shm_nattch: c_ulong,
798
- __pad1: c_ulong,
799
- __pad2: c_ulong,
798
+ __pad1: Padding < c_ulong> ,
799
+ __pad2: Padding < c_ulong> ,
800
800
}
801
801
802
802
pub struct msqid_ds {
809
809
pub msg_qbytes: crate :: msglen_t,
810
810
pub msg_lspid: crate :: pid_t,
811
811
pub msg_lrpid: crate :: pid_t,
812
- __pad1: c_ulong,
813
- __pad2: c_ulong,
812
+ __pad1: Padding < c_ulong> ,
813
+ __pad2: Padding < c_ulong> ,
814
814
}
815
815
816
816
pub struct statfs {
@@ -833,10 +833,10 @@ s! {
833
833
pub msg_namelen: crate :: socklen_t,
834
834
pub msg_iov: * mut crate :: iovec,
835
835
pub msg_iovlen: c_int,
836
- __pad1: c_int,
836
+ __pad1: Padding < c_int> ,
837
837
pub msg_control: * mut c_void,
838
838
pub msg_controllen: crate :: socklen_t,
839
- __pad2: crate :: socklen_t,
839
+ __pad2: Padding < crate :: socklen_t> ,
840
840
pub msg_flags: c_int,
841
841
}
842
842
@@ -924,7 +924,7 @@ s_no_extra_traits! {
924
924
925
925
pub struct sockaddr_storage {
926
926
pub ss_family: sa_family_t,
927
- __ss_pad2: [ u8 ; 128 - 2 - 8 ] ,
927
+ __ss_pad2: Padding < [ u8 ; 128 - 2 - 8 ] > ,
928
928
__ss_align: size_t,
929
929
}
930
930
@@ -981,7 +981,7 @@ s_no_extra_traits! {
981
981
982
982
pub struct sockaddr_nl {
983
983
pub nl_family: crate :: sa_family_t,
984
- nl_pad: c_ushort,
984
+ nl_pad: Padding < c_ushort> ,
985
985
pub nl_pid: u32 ,
986
986
pub nl_groups: u32 ,
987
987
}
0 commit comments