File tree 2 files changed +0
-26
lines changed
src/unix/bsd/freebsdlike/freebsd
2 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -2328,12 +2328,6 @@ fn test_freebsd(target: &str) {
2328
2328
// still be accepted and ignored at runtime.
2329
2329
"MAP_RENAME" | "MAP_NORESERVE" => true ,
2330
2330
2331
- // FIXME: These are deprecated - remove in a couple of releases.
2332
- // These constants were removed in FreeBSD 11 (svn r262489),
2333
- // and they've never had any legitimate use outside of the
2334
- // base system anyway.
2335
- "CTL_MAXID" | "KERN_MAXID" | "HW_MAXID" | "USER_MAXID" => true ,
2336
-
2337
2331
// FIXME: This is deprecated - remove in a couple of releases.
2338
2332
// This was removed in FreeBSD 14 (git 1b4701fe1e8) and never
2339
2333
// should've been used anywhere anyway.
Original file line number Diff line number Diff line change @@ -3857,26 +3857,6 @@ pub const SHM_STAT: ::c_int = 13;
3857
3857
pub const SHM_INFO : :: c_int = 14 ;
3858
3858
pub const SHM_ANON : * mut :: c_char = 1 as * mut :: c_char ;
3859
3859
3860
- // The *_MAXID constants never should've been used outside of the
3861
- // FreeBSD base system. And with the exception of CTL_P1003_1B_MAXID,
3862
- // they were all removed in svn r262489. They remain here for backwards
3863
- // compatibility only, and are scheduled to be removed in libc 1.0.0.
3864
- #[ doc( hidden) ]
3865
- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3866
- pub const CTL_MAXID : :: c_int = 10 ;
3867
- #[ doc( hidden) ]
3868
- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3869
- pub const KERN_MAXID : :: c_int = 38 ;
3870
- #[ doc( hidden) ]
3871
- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3872
- pub const HW_MAXID : :: c_int = 13 ;
3873
- #[ doc( hidden) ]
3874
- #[ deprecated( since = "0.2.54" , note = "Removed in FreeBSD 11" ) ]
3875
- pub const USER_MAXID : :: c_int = 21 ;
3876
- #[ doc( hidden) ]
3877
- #[ deprecated( since = "0.2.74" , note = "Removed in FreeBSD 13" ) ]
3878
- pub const CTL_P1003_1B_MAXID : :: c_int = 26 ;
3879
-
3880
3860
pub const MSG_NOTIFICATION : :: c_int = 0x00002000 ;
3881
3861
pub const MSG_NBIO : :: c_int = 0x00004000 ;
3882
3862
pub const MSG_COMPAT : :: c_int = 0x00008000 ;
You can’t perform that action at this time.
0 commit comments