File tree Expand file tree Collapse file tree
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,6 +259,12 @@ s! {
259259}
260260
261261pub const ELAST : c_int = 96 ;
262+ #[ deprecated(
263+ since = "0.2.187" ,
264+ note = "This constant, among others often used in C for the purposes of denoting the latest \
265+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
266+ discussion."
267+ ) ]
262268pub const RAND_MAX : c_int = 0x7fff_fffd ;
263269pub const KI_NSPARE_PTR : usize = 6 ;
264270pub const MINCORE_SUPER : c_int = 0x20 ;
Original file line number Diff line number Diff line change @@ -303,6 +303,12 @@ s! {
303303 }
304304}
305305
306+ #[ deprecated(
307+ since = "0.2.187" ,
308+ note = "This constant, among others often used in C for the purposes of denoting the latest \
309+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
310+ discussion."
311+ ) ]
306312pub const RAND_MAX : c_int = 0x7fff_fffd ;
307313pub const ELAST : c_int = 97 ;
308314
Original file line number Diff line number Diff line change @@ -316,6 +316,12 @@ s! {
316316 }
317317}
318318
319+ #[ deprecated(
320+ since = "0.2.187" ,
321+ note = "This constant, among others often used in C for the purposes of denoting the latest \
322+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
323+ discussion."
324+ ) ]
319325pub const RAND_MAX : c_int = 0x7fff_ffff ;
320326pub const ELAST : c_int = 97 ;
321327
Original file line number Diff line number Diff line change @@ -318,6 +318,12 @@ s! {
318318 }
319319}
320320
321+ #[ deprecated(
322+ since = "0.2.187" ,
323+ note = "This constant, among others often used in C for the purposes of denoting the latest \
324+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
325+ discussion."
326+ ) ]
321327pub const RAND_MAX : c_int = 0x7fff_ffff ;
322328pub const ELAST : c_int = 97 ;
323329
Original file line number Diff line number Diff line change @@ -320,6 +320,12 @@ s! {
320320 }
321321}
322322
323+ #[ deprecated(
324+ since = "0.2.187" ,
325+ note = "This constant, among others often used in C for the purposes of denoting the latest \
326+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
327+ discussion."
328+ ) ]
323329pub const RAND_MAX : c_int = 0x7fff_ffff ;
324330pub const ELAST : c_int = 97 ;
325331
You can’t perform that action at this time.
0 commit comments