Skip to content

Commit

Permalink
netbsd add deprecation warning for ELAST
Browse files Browse the repository at this point in the history
Requested in #3040
  • Loading branch information
0-wiz-0 committed Apr 21, 2023
1 parent f13fd42 commit 06fdfac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Expand Up @@ -1423,6 +1423,12 @@ pub const ENOLINK: ::c_int = 95;
pub const EPROTO: ::c_int = 96;
pub const EOWNERDEAD: ::c_int = 97;
pub const ENOTRECOVERABLE: ::c_int = 98;
#[deprecated(
since = "0.2.143",
note = "This value will always match the highest defined error number \
and thus is not stable. \
See #3040 for more info."
)]
pub const ELAST: ::c_int = 98;

pub const F_DUPFD_CLOEXEC: ::c_int = 12;
Expand Down

0 comments on commit 06fdfac

Please sign in to comment.