Skip to content

Commit c7b66e1

Browse files
committed
refactor: remove ELAST across bsds
This is a follow up from rust-lang#5118. That PR aimed for deprecation such the proposed changes were included in the next stable release. This patch completely removes the symbols for the 1.0 release.
1 parent f4d6777 commit c7b66e1

12 files changed

Lines changed: 0 additions & 12 deletions

File tree

libc-test/semver/apple.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ ECHOKE
347347
ECHOPRT
348348
EDEVERR
349349
EFTYPE
350-
ELAST
351350
EMPTY
352351
EMULTIHOP
353352
ENEEDAUTH

libc-test/semver/dragonfly.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ ECHOKE
225225
ECHOPRT
226226
EDOOFUS
227227
EFTYPE
228-
ELAST
229228
EMPTY
230229
EMULTIHOP
231230
ENEEDAUTH

libc-test/semver/freebsd.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ ECHOKE
356356
ECHOPRT
357357
EDOOFUS
358358
EFTYPE
359-
ELAST
360359
EMPTY
361360
EMULTIHOP
362361
ENEEDAUTH

libc-test/semver/openbsd.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ ECHOKE
166166
ECHOPRT
167167
EFTYPE
168168
EIPSEC
169-
ELAST
170169
EMEDIUMTYPE
171170
ENEEDAUTH
172171
ENOATTR

src/unix/bsd/apple/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,6 @@ pub const ENOTRECOVERABLE: c_int = 104;
21432143
pub const EOWNERDEAD: c_int = 105;
21442144
pub const EQFULL: c_int = 106;
21452145
pub const ENOTCAPABLE: c_int = 107;
2146-
pub const ELAST: c_int = 107;
21472146

21482147
pub const EAI_AGAIN: c_int = 2;
21492148
pub const EAI_BADFLAGS: c_int = 3;

src/unix/bsd/freebsdlike/dragonfly/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,6 @@ pub const ENOMEDIUM: c_int = 93;
548548
pub const ENOTRECOVERABLE: c_int = 94;
549549
pub const EOWNERDEAD: c_int = 95;
550550
pub const EASYNC: c_int = 99;
551-
pub const ELAST: c_int = 99;
552551
pub const RLIMIT_POSIXLOCKS: c_int = 11;
553552
#[deprecated(since = "0.2.64", note = "Not stable across OS versions")]
554553
pub const RLIM_NLIMITS: crate::rlim_t = 12;

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

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

261-
pub const ELAST: c_int = 96;
262261
pub const RAND_MAX: c_int = 0x7fff_fffd;
263262
pub const KI_NSPARE_PTR: usize = 6;
264263
pub const MINCORE_SUPER: c_int = 0x20;

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

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

306306
pub const RAND_MAX: c_int = 0x7fff_fffd;
307-
pub const ELAST: c_int = 97;
308307

309308
/// max length of devicename
310309
pub const SPECNAMELEN: c_int = 63;

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

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

319319
pub const RAND_MAX: c_int = 0x7fff_ffff;
320-
pub const ELAST: c_int = 97;
321320

322321
pub const KF_TYPE_EVENTFD: c_int = 13;
323322

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

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

321321
pub const RAND_MAX: c_int = 0x7fff_ffff;
322-
pub const ELAST: c_int = 97;
323322

324323
pub const KF_TYPE_EVENTFD: c_int = 13;
325324

0 commit comments

Comments
 (0)