@@ -333,10 +333,10 @@ s! {
333333 }
334334
335335 pub struct fpunchhole_t {
336- pub fp_flags: c_uint, /* unused */
337- pub reserved: c_uint, /* (to maintain 8-byte alignment) */
338- pub fp_offset: off_t, /* IN: start of the region */
339- pub fp_length: off_t, /* IN: size of the region */
336+ pub fp_flags: c_uint, /* unused */
337+ reserved: Padding < c_uint> , /* (to maintain 8-byte alignment) */
338+ pub fp_offset: off_t, /* IN: start of the region */
339+ pub fp_length: off_t, /* IN: size of the region */
340340 }
341341
342342 pub struct ftrimactivefile_t {
346346
347347 pub struct fspecread_t {
348348 pub fsr_flags: c_uint,
349- pub reserved: c_uint,
349+ reserved: Padding < c_uint> ,
350350 pub fsr_offset: off_t,
351351 pub fsr_length: off_t,
352352 }
485485 pub rtm_addrs: c_int,
486486 pub rtm_refcnt: i32 ,
487487 pub rtm_parentflags: c_int,
488- pub rtm_reserved: c_int,
488+ rtm_reserved: Padding < c_int> ,
489489 pub rtm_use: c_int,
490490 pub rtm_inits: u32 ,
491491 pub rtm_rmx: rt_metrics,
669669 pub ss_sysaddr: u16 ,
670670 pub sc_id: u32 ,
671671 pub sc_unit: u32 ,
672- pub sc_reserved: [ u32 ; 5 ] ,
672+ sc_reserved: Padding < [ u32 ; 5 ] > ,
673673 }
674674
675675 pub struct in_pktinfo {
@@ -1015,7 +1015,7 @@ s! {
10151015
10161016 pub struct attrlist {
10171017 pub bitmapcount: c_ushort,
1018- pub reserved: u16 ,
1018+ reserved: Padding < u16 > ,
10191019 pub commonattr: attrgroup_t,
10201020 pub volattr: attrgroup_t,
10211021 pub dirattr: attrgroup_t,
@@ -1285,7 +1285,7 @@ s! {
12851285 pub f_mntonname: [ c_char; 1024 ] ,
12861286 pub f_mntfromname: [ c_char; 1024 ] ,
12871287 pub f_flags_ext: u32 ,
1288- pub f_reserved: [ u32 ; 7 ] ,
1288+ f_reserved: Padding < [ u32 ; 7 ] > ,
12891289 }
12901290
12911291 pub struct dirent {
@@ -1484,7 +1484,7 @@ s! {
14841484 pub struct sockaddr_vm {
14851485 pub svm_len: c_uchar,
14861486 pub svm_family: crate :: sa_family_t,
1487- pub svm_reserved1: c_ushort,
1487+ svm_reserved1: Padding < c_ushort> ,
14881488 pub svm_port: c_uint,
14891489 pub svm_cid: c_uint,
14901490 }
0 commit comments