@@ -143,46 +143,46 @@ s! {
143143 pub ru_stime: timeval,
144144 pub ru_maxrss: c_long,
145145 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
146- __pad1: u32 ,
146+ __pad1: Padding < u32 > ,
147147 pub ru_ixrss: c_long,
148148 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
149- __pad2: u32 ,
149+ __pad2: Padding < u32 > ,
150150 pub ru_idrss: c_long,
151151 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
152- __pad3: u32 ,
152+ __pad3: Padding < u32 > ,
153153 pub ru_isrss: c_long,
154154 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
155- __pad4: u32 ,
155+ __pad4: Padding < u32 > ,
156156 pub ru_minflt: c_long,
157157 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
158- __pad5: u32 ,
158+ __pad5: Padding < u32 > ,
159159 pub ru_majflt: c_long,
160160 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
161- __pad6: u32 ,
161+ __pad6: Padding < u32 > ,
162162 pub ru_nswap: c_long,
163163 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
164- __pad7: u32 ,
164+ __pad7: Padding < u32 > ,
165165 pub ru_inblock: c_long,
166166 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
167- __pad8: u32 ,
167+ __pad8: Padding < u32 > ,
168168 pub ru_oublock: c_long,
169169 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
170- __pad9: u32 ,
170+ __pad9: Padding < u32 > ,
171171 pub ru_msgsnd: c_long,
172172 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
173- __pad10: u32 ,
173+ __pad10: Padding < u32 > ,
174174 pub ru_msgrcv: c_long,
175175 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
176- __pad11: u32 ,
176+ __pad11: Padding < u32 > ,
177177 pub ru_nsignals: c_long,
178178 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
179- __pad12: u32 ,
179+ __pad12: Padding < u32 > ,
180180 pub ru_nvcsw: c_long,
181181 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
182- __pad13: u32 ,
182+ __pad13: Padding < u32 > ,
183183 pub ru_nivcsw: c_long,
184184 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
185- __pad14: u32 ,
185+ __pad14: Padding < u32 > ,
186186 }
187187
188188 pub struct in_addr {
@@ -449,11 +449,11 @@ s! {
449449 pub gl_offs: size_t,
450450 pub gl_flags: c_int,
451451
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> ,
457457 }
458458
459459 pub struct ifaddrs {
538538 pub ssi_stime: u64 ,
539539 pub ssi_addr: u64 ,
540540 pub ssi_addr_lsb: u16 ,
541- _pad2: u16 ,
541+ _pad2: Padding < u16 > ,
542542 pub ssi_syscall: i32 ,
543543 pub ssi_call_addr: u64 ,
544544 pub ssi_arch: u32 ,
795795 pub shm_cpid: crate :: pid_t,
796796 pub shm_lpid: crate :: pid_t,
797797 pub shm_nattch: c_ulong,
798- __pad1: c_ulong,
799- __pad2: c_ulong,
798+ __pad1: Padding < c_ulong> ,
799+ __pad2: Padding < c_ulong> ,
800800 }
801801
802802 pub struct msqid_ds {
809809 pub msg_qbytes: crate :: msglen_t,
810810 pub msg_lspid: crate :: pid_t,
811811 pub msg_lrpid: crate :: pid_t,
812- __pad1: c_ulong,
813- __pad2: c_ulong,
812+ __pad1: Padding < c_ulong> ,
813+ __pad2: Padding < c_ulong> ,
814814 }
815815
816816 pub struct statfs {
@@ -833,10 +833,10 @@ s! {
833833 pub msg_namelen: crate :: socklen_t,
834834 pub msg_iov: * mut crate :: iovec,
835835 pub msg_iovlen: c_int,
836- __pad1: c_int,
836+ __pad1: Padding < c_int> ,
837837 pub msg_control: * mut c_void,
838838 pub msg_controllen: crate :: socklen_t,
839- __pad2: crate :: socklen_t,
839+ __pad2: Padding < crate :: socklen_t> ,
840840 pub msg_flags: c_int,
841841 }
842842
@@ -924,7 +924,7 @@ s_no_extra_traits! {
924924
925925 pub struct sockaddr_storage {
926926 pub ss_family: sa_family_t,
927- __ss_pad2: [ u8 ; 128 - 2 - 8 ] ,
927+ __ss_pad2: Padding < [ u8 ; 128 - 2 - 8 ] > ,
928928 __ss_align: size_t,
929929 }
930930
@@ -981,7 +981,7 @@ s_no_extra_traits! {
981981
982982 pub struct sockaddr_nl {
983983 pub nl_family: crate :: sa_family_t,
984- nl_pad: c_ushort,
984+ nl_pad: Padding < c_ushort> ,
985985 pub nl_pid: u32 ,
986986 pub nl_groups: u32 ,
987987 }
0 commit comments