File tree Expand file tree Collapse file tree 2 files changed +0
-26
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -2257,12 +2257,6 @@ fn test_freebsd(target: &str) {
22572257 // still be accepted and ignored at runtime.
22582258 "MAP_RENAME" | "MAP_NORESERVE" => true ,
22592259
2260- // FIXME: These are deprecated - remove in a couple of releases.
2261- // These constants were removed in FreeBSD 11 (svn r262489),
2262- // and they've never had any legitimate use outside of the
2263- // base system anyway.
2264- "CTL_MAXID" | "KERN_MAXID" | "HW_MAXID" | "USER_MAXID" => true ,
2265-
22662260 // FIXME: This is deprecated - remove in a couple of releases.
22672261 // This was removed in FreeBSD 14 (git 1b4701fe1e8) and never
22682262 // should've been used anywhere anyway.
Original file line number Diff line number Diff line change @@ -3833,26 +3833,6 @@ pub const SHM_STAT: ::c_int = 13;
38333833pub const SHM_INFO : :: c_int = 14 ;
38343834pub const SHM_ANON : * mut :: c_char = 1 as * mut :: c_char ;
38353835
3836- // The *_MAXID constants never should've been used outside of the
3837- // FreeBSD base system. And with the exception of CTL_P1003_1B_MAXID,
3838- // they were all removed in svn r262489. They remain here for backwards
3839- // compatibility only, and are scheduled to be removed in libc 1.0.0.
3840- #[ doc( hidden) ]
3841- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3842- pub const CTL_MAXID : :: c_int = 10 ;
3843- #[ doc( hidden) ]
3844- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3845- pub const KERN_MAXID : :: c_int = 38 ;
3846- #[ doc( hidden) ]
3847- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3848- pub const HW_MAXID : :: c_int = 13 ;
3849- #[ doc( hidden) ]
3850- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3851- pub const USER_MAXID : :: c_int = 21 ;
3852- #[ doc( hidden) ]
3853- #[ deprecated( since = "0.2.74" , note = "Removed in FreeBSD 13" ) ]
3854- pub const CTL_P1003_1B_MAXID : :: c_int = 26 ;
3855-
38563836pub const MSG_NOTIFICATION : :: c_int = 0x00002000 ;
38573837pub const MSG_NBIO : :: c_int = 0x00004000 ;
38583838pub const MSG_COMPAT : :: c_int = 0x00008000 ;
You can’t perform that action at this time.
0 commit comments