From e87acbad643d2e5fea1fb5f4df2369bef7df70af Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sun, 24 Nov 2024 01:51:51 -0600 Subject: [PATCH] apple: remove `if_family_id` This API appears to not be available in more recent MacOS SDKs, and there aren't any functions that use it. Since this hasn't yet made it into a release, remove it. Link: https://github.com/rust-lang/libc/pull/4022 --- src/unix/bsd/apple/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index 135adf85020dc..54f35d3bc4661 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -1257,12 +1257,6 @@ s! { pub dot3Compliance: u32, } - pub struct if_family_id { - pub iffmid_len: u32, - pub iffmid_id: u32, - pub iffmid_str: [::c_char; 1], - } - // kern_control.h pub struct ctl_info { pub ctl_id: u32,