Skip to content

Commit 60a8cfd

Browse files
committed
NetBSD: mark an enum #[repr(C)]
Resolve an instance of `improper_ctypes`.
1 parent d23c71e commit 60a8cfd

File tree

1 file changed

+1
-0
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+1
-0
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pub type Elf64_Xword = u64;
3939
pub type iconv_t = *mut c_void;
4040

4141
e! {
42+
#[repr(C)]
4243
pub enum fae_action {
4344
FAE_OPEN,
4445
FAE_DUP2,

0 commit comments

Comments
 (0)