Skip to content

Commit 2bce3b4

Browse files
committed
refactor: remove RAND_MAX in freebsd
This is a follow up to #5119. In this instance, the deprecated symbol has been removed to target the 1.0 release, and the SemVer-tracking plain text files have been updated.
1 parent f4d6777 commit 2bce3b4

6 files changed

Lines changed: 0 additions & 6 deletions

File tree

libc-test/semver/freebsd.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,6 @@ Q_QUOTAON
11361136
Q_SETQUOTA
11371137
Q_SYNC
11381138
RADIXCHAR
1139-
RAND_MAX
11401139
RB_ASKNAME
11411140
RB_CDROM
11421141
RB_DFLTROOT

src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ s! {
259259
}
260260

261261
pub const ELAST: c_int = 96;
262-
pub const RAND_MAX: c_int = 0x7fff_fffd;
263262
pub const KI_NSPARE_PTR: usize = 6;
264263
pub const MINCORE_SUPER: c_int = 0x20;
265264
/// max length of devicename

src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ s! {
303303
}
304304
}
305305

306-
pub const RAND_MAX: c_int = 0x7fff_fffd;
307306
pub const ELAST: c_int = 97;
308307

309308
/// max length of devicename

src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ s! {
316316
}
317317
}
318318

319-
pub const RAND_MAX: c_int = 0x7fff_ffff;
320319
pub const ELAST: c_int = 97;
321320

322321
pub const KF_TYPE_EVENTFD: c_int = 13;

src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ s! {
318318
}
319319
}
320320

321-
pub const RAND_MAX: c_int = 0x7fff_ffff;
322321
pub const ELAST: c_int = 97;
323322

324323
pub const KF_TYPE_EVENTFD: c_int = 13;

src/unix/bsd/freebsdlike/freebsd/freebsd15/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ s! {
320320
}
321321
}
322322

323-
pub const RAND_MAX: c_int = 0x7fff_ffff;
324323
pub const ELAST: c_int = 97;
325324

326325
pub const KF_TYPE_EVENTFD: c_int = 13;

0 commit comments

Comments
 (0)