@@ -625,6 +625,11 @@ pub const AF_IEEE80211: ::c_int = 37;
625
625
pub const AF_INET_SDP : :: c_int = 40 ;
626
626
pub const AF_INET6_SDP : :: c_int = 42 ;
627
627
#[ doc( hidden) ]
628
+ #[ deprecated(
629
+ since = "0.2.55" ,
630
+ note = "If you are using this report to: \
631
+ https://github.com/rust-lang/libc/issues/665"
632
+ ) ]
628
633
pub const AF_MAX : :: c_int = 42 ;
629
634
630
635
// https://github.com/freebsd/freebsd/blob/master/sys/net/if.h#L140
@@ -636,7 +641,6 @@ pub const IFF_POINTOPOINT: ::c_int = 0x10; // (i) is a point-to-point link
636
641
// 0x20 was IFF_SMART
637
642
pub const IFF_RUNNING : :: c_int = 0x40 ; // (d) resources allocated
638
643
#[ doc( hidden) ]
639
- #[ doc( hidden) ]
640
644
#[ deprecated(
641
645
since="0.2.54" ,
642
646
note="IFF_DRV_RUNNING is deprecated. Use the portable IFF_RUNNING instead"
@@ -934,6 +938,12 @@ pub const PF_IEEE80211: ::c_int = AF_IEEE80211;
934
938
pub const PF_INET_SDP : :: c_int = AF_INET_SDP ;
935
939
pub const PF_INET6_SDP : :: c_int = AF_INET6_SDP ;
936
940
#[ doc( hidden) ]
941
+ #[ deprecated(
942
+ since = "0.2.55" ,
943
+ note = "If you are using this report to: \
944
+ https://github.com/rust-lang/libc/issues/665"
945
+ ) ]
946
+ #[ allow( deprecated) ]
937
947
pub const PF_MAX : :: c_int = AF_MAX ;
938
948
939
949
pub const NET_RT_DUMP : :: c_int = 1 ;
@@ -971,6 +981,7 @@ pub const SHM_ANON: *mut ::c_char = 1 as *mut ::c_char;
971
981
// compatibility only, and are scheduled to be removed in libc 1.0.0.
972
982
#[ doc( hidden) ]
973
983
#[ deprecated( since="0.2.54" , note="Removed in FreeBSD 11" ) ]
984
+ #[ allow( deprecated) ]
974
985
pub const NET_MAXID : :: c_int = AF_MAX ;
975
986
#[ doc( hidden) ]
976
987
#[ deprecated( since="0.2.54" , note="Removed in FreeBSD 11" ) ]
0 commit comments