Skip to content

Commit a33c485

Browse files
committed
cleanup: Mark the alignment fields to private
We have some leftovers of alignment data that is exposed
1 parent 571df58 commit a33c485

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/unix/hurd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ s! {
286286
pub ss_len: c_uchar,
287287
pub ss_family: sa_family_t,
288288
__ss_padding: Padding<[c_char; 122usize]>,
289-
pub __ss_align: __uint32_t,
289+
__ss_align: __uint32_t,
290290
}
291291

292292
pub struct sockaddr_at {

src/unix/newlib/vita/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ s! {
5353
pub ss_len: u8,
5454
pub ss_family: crate::sa_family_t,
5555
__ss_pad1: Padding<[u8; 2]>,
56-
pub __ss_align: i64,
56+
__ss_align: i64,
5757
__ss_pad2: Padding<[u8; 116]>,
5858
}
5959

src/vxworks/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ s_no_extra_traits! {
588588
pub ss_len: c_uchar,
589589
pub ss_family: crate::sa_family_t,
590590
__ss_pad1: Padding<[c_char; _SS_PAD1SIZE]>,
591-
pub __ss_align: i32,
591+
__ss_align: i32,
592592
__ss_pad2: Padding<[c_char; _SS_PAD2SIZE]>,
593593
}
594594

0 commit comments

Comments
 (0)