Auto merge of #2137 - asomers:netbsd-unpacked, r=Amanieu

Removed repr(packed) from some NetBSD structures

The structures in question have always been properly aligned, so the
packed attribute only serves to generate annoying compiler warnings.  It
will be removed in the next release of NetBSD.

415c686e20
This commit is contained in:
bors 2021-04-04 16:14:03 +00:00
commit 5114daa8ff
1 changed files with 0 additions and 2 deletions

View File

@ -445,7 +445,6 @@ s_no_extra_traits! {
pub ipi_ifindex: ::c_uint,
}
#[repr(packed)]
pub struct arphdr {
pub ar_hrd: u16,
pub ar_pro: u16,
@ -454,7 +453,6 @@ s_no_extra_traits! {
pub ar_op: u16,
}
#[repr(packed)]
pub struct in_addr {
pub s_addr: ::in_addr_t,
}