@@ -646,13 +646,6 @@ pub const AF_BLUETOOTH: ::c_int = 36;
646646pub const AF_IEEE80211 : :: c_int = 37 ;
647647pub const AF_INET_SDP : :: c_int = 40 ;
648648pub const AF_INET6_SDP : :: c_int = 42 ;
649- #[ doc( hidden) ]
650- #[ deprecated(
651- since = "0.2.55" ,
652- note = "If you are using this report to: \
653- https://github.com/rust-lang/libc/issues/665"
654- ) ]
655- pub const AF_MAX : :: c_int = 42 ;
656649
657650// https://github.com/freebsd/freebsd/blob/master/sys/net/if.h#L140
658651pub const IFF_UP : :: c_int = 0x1 ; // (n) interface is up
@@ -959,14 +952,6 @@ pub const PF_BLUETOOTH: ::c_int = AF_BLUETOOTH;
959952pub const PF_IEEE80211 : :: c_int = AF_IEEE80211 ;
960953pub const PF_INET_SDP : :: c_int = AF_INET_SDP ;
961954pub const PF_INET6_SDP : :: c_int = AF_INET6_SDP ;
962- #[ doc( hidden) ]
963- #[ deprecated(
964- since = "0.2.55" ,
965- note = "If you are using this report to: \
966- https://github.com/rust-lang/libc/issues/665"
967- ) ]
968- #[ allow( deprecated) ]
969- pub const PF_MAX : :: c_int = AF_MAX ;
970955
971956pub const NET_RT_DUMP : :: c_int = 1 ;
972957pub const NET_RT_FLAGS : :: c_int = 2 ;
@@ -1003,10 +988,6 @@ pub const SHM_ANON: *mut ::c_char = 1 as *mut ::c_char;
1003988// compatibility only, and are scheduled to be removed in libc 1.0.0.
1004989#[ doc( hidden) ]
1005990#[ deprecated( since="0.2.54" , note="Removed in FreeBSD 11" ) ]
1006- #[ allow( deprecated) ]
1007- pub const NET_MAXID : :: c_int = AF_MAX ;
1008- #[ doc( hidden) ]
1009- #[ deprecated( since="0.2.54" , note="Removed in FreeBSD 11" ) ]
1010991pub const CTL_MAXID : :: c_int = 10 ;
1011992#[ doc( hidden) ]
1012993#[ deprecated( since="0.2.54" , note="Removed in FreeBSD 11" ) ]
0 commit comments