@@ -121,46 +121,46 @@ s! {
121121 pub ru_stime: timeval,
122122 pub ru_maxrss: c_long,
123123 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
124- __pad1: u32 ,
124+ __pad1: Padding < u32 > ,
125125 pub ru_ixrss: c_long,
126126 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
127- __pad2: u32 ,
127+ __pad2: Padding < u32 > ,
128128 pub ru_idrss: c_long,
129129 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
130- __pad3: u32 ,
130+ __pad3: Padding < u32 > ,
131131 pub ru_isrss: c_long,
132132 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
133- __pad4: u32 ,
133+ __pad4: Padding < u32 > ,
134134 pub ru_minflt: c_long,
135135 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
136- __pad5: u32 ,
136+ __pad5: Padding < u32 > ,
137137 pub ru_majflt: c_long,
138138 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
139- __pad6: u32 ,
139+ __pad6: Padding < u32 > ,
140140 pub ru_nswap: c_long,
141141 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
142- __pad7: u32 ,
142+ __pad7: Padding < u32 > ,
143143 pub ru_inblock: c_long,
144144 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
145- __pad8: u32 ,
145+ __pad8: Padding < u32 > ,
146146 pub ru_oublock: c_long,
147147 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
148- __pad9: u32 ,
148+ __pad9: Padding < u32 > ,
149149 pub ru_msgsnd: c_long,
150150 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
151- __pad10: u32 ,
151+ __pad10: Padding < u32 > ,
152152 pub ru_msgrcv: c_long,
153153 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
154- __pad11: u32 ,
154+ __pad11: Padding < u32 > ,
155155 pub ru_nsignals: c_long,
156156 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
157- __pad12: u32 ,
157+ __pad12: Padding < u32 > ,
158158 pub ru_nvcsw: c_long,
159159 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
160- __pad13: u32 ,
160+ __pad13: Padding < u32 > ,
161161 pub ru_nivcsw: c_long,
162162 #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
163- __pad14: u32 ,
163+ __pad14: Padding < u32 > ,
164164 }
165165
166166 pub struct in_addr {
@@ -427,11 +427,11 @@ s! {
427427 pub gl_offs: size_t,
428428 pub gl_flags: c_int,
429429
430- __unused1: * mut c_void,
431- __unused2: * mut c_void,
432- __unused3: * mut c_void,
433- __unused4: * mut c_void,
434- __unused5: * mut c_void,
430+ __unused1: Padding < * mut c_void> ,
431+ __unused2: Padding < * mut c_void> ,
432+ __unused3: Padding < * mut c_void> ,
433+ __unused4: Padding < * mut c_void> ,
434+ __unused5: Padding < * mut c_void> ,
435435 }
436436
437437 pub struct ifaddrs {
516516 pub ssi_stime: u64 ,
517517 pub ssi_addr: u64 ,
518518 pub ssi_addr_lsb: u16 ,
519- _pad2: u16 ,
519+ _pad2: Padding < u16 > ,
520520 pub ssi_syscall: i32 ,
521521 pub ssi_call_addr: u64 ,
522522 pub ssi_arch: u32 ,
773773 pub shm_cpid: crate :: pid_t,
774774 pub shm_lpid: crate :: pid_t,
775775 pub shm_nattch: c_ulong,
776- __pad1: c_ulong,
777- __pad2: c_ulong,
776+ __pad1: Padding < c_ulong> ,
777+ __pad2: Padding < c_ulong> ,
778778 }
779779
780780 pub struct msqid_ds {
787787 pub msg_qbytes: crate :: msglen_t,
788788 pub msg_lspid: crate :: pid_t,
789789 pub msg_lrpid: crate :: pid_t,
790- __pad1: c_ulong,
791- __pad2: c_ulong,
790+ __pad1: Padding < c_ulong> ,
791+ __pad2: Padding < c_ulong> ,
792792 }
793793
794794 pub struct statfs {
@@ -811,10 +811,10 @@ s! {
811811 pub msg_namelen: crate :: socklen_t,
812812 pub msg_iov: * mut crate :: iovec,
813813 pub msg_iovlen: c_int,
814- __pad1: c_int,
814+ __pad1: Padding < c_int> ,
815815 pub msg_control: * mut c_void,
816816 pub msg_controllen: crate :: socklen_t,
817- __pad2: crate :: socklen_t,
817+ __pad2: Padding < crate :: socklen_t> ,
818818 pub msg_flags: c_int,
819819 }
820820
900900
901901 pub struct sockaddr_storage {
902902 pub ss_family: sa_family_t,
903- __ss_pad2: [ u8 ; 128 - 2 - 8 ] ,
903+ __ss_pad2: Padding < [ u8 ; 128 - 2 - 8 ] > ,
904904 __ss_align: size_t,
905905 }
906906
957957
958958 pub struct sockaddr_nl {
959959 pub nl_family: crate :: sa_family_t,
960- nl_pad: c_ushort,
960+ nl_pad: Padding < c_ushort> ,
961961 pub nl_pid: u32 ,
962962 pub nl_groups: u32 ,
963963 }
0 commit comments