diff options
author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-05-23 10:54:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 10:54:03 +0900 |
commit | ea329794eb711645718513a168c6fd95e0507948 (patch) | |
tree | 3305f31fb2a64ecd57cbde2197f27d58fd0d2d43 | |
parent | e74204347f05af76b702fd9abfbbe22d0c367339 (diff) | |
parent | 78ba4b4ee429298b88b434305a9e5a34bf1a34ff (diff) | |
download | rust-libc-ea329794eb711645718513a168c6fd95e0507948.tar.gz |
Merge pull request #1773 from JohnTitor/deprecate-kern
Deprecate `KERN_USERMOUNT` and `KERN_ARND` in 0.2.71
-rw-r--r-- | src/unix/bsd/netbsdlike/openbsd/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs index f77a424380..47a5585d34 100644 --- a/src/unix/bsd/netbsdlike/openbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs @@ -1150,12 +1150,14 @@ pub const KERN_NTHREADS: ::c_int = 26; pub const KERN_OSVERSION: ::c_int = 27; pub const KERN_SOMAXCONN: ::c_int = 28; pub const KERN_SOMINCONN: ::c_int = 29; +#[deprecated(since = "0.2.71", note = "Removed in OpenBSD 6.0")] pub const KERN_USERMOUNT: ::c_int = 30; pub const KERN_NOSUIDCOREDUMP: ::c_int = 32; pub const KERN_FSYNC: ::c_int = 33; pub const KERN_SYSVMSG: ::c_int = 34; pub const KERN_SYSVSEM: ::c_int = 35; pub const KERN_SYSVSHM: ::c_int = 36; +#[deprecated(since = "0.2.71", note = "Removed in OpenBSD 6.0")] pub const KERN_ARND: ::c_int = 37; pub const KERN_MSGBUFSIZE: ::c_int = 38; pub const KERN_MALLOCSTATS: ::c_int = 39; |