@@ -646,13 +646,6 @@ pub const AF_BLUETOOTH: ::c_int = 36;
646
646
pub const AF_IEEE80211 : :: c_int = 37 ;
647
647
pub const AF_INET_SDP : :: c_int = 40 ;
648
648
pub 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 ;
656
649
657
650
// https://github.com/freebsd/freebsd/blob/master/sys/net/if.h#L140
658
651
pub const IFF_UP : :: c_int = 0x1 ; // (n) interface is up
@@ -959,14 +952,6 @@ pub const PF_BLUETOOTH: ::c_int = AF_BLUETOOTH;
959
952
pub const PF_IEEE80211 : :: c_int = AF_IEEE80211 ;
960
953
pub const PF_INET_SDP : :: c_int = AF_INET_SDP ;
961
954
pub 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 ;
970
955
971
956
pub const NET_RT_DUMP : :: c_int = 1 ;
972
957
pub const NET_RT_FLAGS : :: c_int = 2 ;
@@ -1003,10 +988,6 @@ pub const SHM_ANON: *mut ::c_char = 1 as *mut ::c_char;
1003
988
// compatibility only, and are scheduled to be removed in libc 1.0.0.
1004
989
#[ doc( hidden) ]
1005
990
#[ 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" ) ]
1010
991
pub const CTL_MAXID : :: c_int = 10 ;
1011
992
#[ doc( hidden) ]
1012
993
#[ deprecated( since="0.2.54" , note="Removed in FreeBSD 11" ) ]
0 commit comments