Skip to content

Commit

Permalink
Auto merge of #3390 - devnexen:openbsd_ifreq_upd, r=JohnTitor
Browse files Browse the repository at this point in the history
openbsd ifreq implementation refinement ifru_data member using proper…

… typedefed type
  • Loading branch information
bors committed Nov 6, 2023
2 parents 02c385e + 49fe732 commit bbd3e20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions libc-test/build.rs
Expand Up @@ -523,15 +523,6 @@ fn test_openbsd(target: &str) {
"sys/param.h",
}

cfg.skip_type(move |ty| {
if ty.starts_with("__c_anonymous_") {
return true;
}
match ty {
_ => false,
}
});

cfg.skip_struct(move |ty| {
if ty.starts_with("__c_anonymous_") {
return true;
Expand Down
2 changes: 1 addition & 1 deletion src/unix/bsd/netbsdlike/openbsd/mod.rs
Expand Up @@ -659,7 +659,7 @@ s_no_extra_traits! {
pub ifru_metric: ::c_int,
pub ifru_vnetid: i64,
pub ifru_media: u64,
pub ifru_data: *mut ::c_char,
pub ifru_data: ::caddr_t,
pub ifru_index: ::c_uint,
}
}
Expand Down

0 comments on commit bbd3e20

Please sign in to comment.