Skip to content

Commit 78ba4b4

Browse files
committed
Deprecate KERN_USERMOUNT and KERN_ARND in 0.2.71
1 parent e742043 commit 78ba4b4

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/netbsdlike/openbsd

1 file changed

+2
-0
lines changed

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,12 +1150,14 @@ pub const KERN_NTHREADS: ::c_int = 26;
11501150
pub const KERN_OSVERSION: ::c_int = 27;
11511151
pub const KERN_SOMAXCONN: ::c_int = 28;
11521152
pub const KERN_SOMINCONN: ::c_int = 29;
1153+
#[deprecated(since = "0.2.71", note = "Removed in OpenBSD 6.0")]
11531154
pub const KERN_USERMOUNT: ::c_int = 30;
11541155
pub const KERN_NOSUIDCOREDUMP: ::c_int = 32;
11551156
pub const KERN_FSYNC: ::c_int = 33;
11561157
pub const KERN_SYSVMSG: ::c_int = 34;
11571158
pub const KERN_SYSVSEM: ::c_int = 35;
11581159
pub const KERN_SYSVSHM: ::c_int = 36;
1160+
#[deprecated(since = "0.2.71", note = "Removed in OpenBSD 6.0")]
11591161
pub const KERN_ARND: ::c_int = 37;
11601162
pub const KERN_MSGBUFSIZE: ::c_int = 38;
11611163
pub const KERN_MALLOCSTATS: ::c_int = 39;

0 commit comments

Comments
 (0)