Skip to content

Commit c2e02e8

Browse files
committed
Auto merge of #2190 - devnexen:obsd_deprecate_constants, r=JohnTitor
openbsd update deprecate few constants
2 parents 40c502b + e31822c commit c2e02e8

File tree

1 file changed

+8
-0
lines changed
  • src/unix/bsd/netbsdlike/openbsd

1 file changed

+8
-0
lines changed

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,10 @@ pub const NET_RT_STATS: ::c_int = 4;
936936
pub const NET_RT_TABLE: ::c_int = 5;
937937
pub const NET_RT_IFNAMES: ::c_int = 6;
938938
#[doc(hidden)]
939+
#[deprecated(
940+
since = "0.2.95",
941+
note = "Possibly increasing over the releases and might not be so used in the field"
942+
)]
939943
pub const NET_RT_MAXID: ::c_int = 7;
940944

941945
pub const IPV6_JOIN_GROUP: ::c_int = 12;
@@ -1272,6 +1276,10 @@ pub const KERN_AUDIO: ::c_int = 84;
12721276
pub const KERN_CPUSTATS: ::c_int = 85;
12731277
pub const KERN_PFSTATUS: ::c_int = 86;
12741278
pub const KERN_TIMEOUT_STATS: ::c_int = 87;
1279+
#[deprecated(
1280+
since = "0.2.95",
1281+
note = "Possibly increasing over the releases and might not be so used in the field"
1282+
)]
12751283
pub const KERN_MAXID: ::c_int = 88;
12761284

12771285
pub const KERN_PROC_ALL: ::c_int = 0;

0 commit comments

Comments
 (0)