summaryrefslogtreecommitdiff
path: root/src/unix/bsd/netbsdlike
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2023-01-09 23:35:57 +0000
committerDavid Carlier <devnexen@gmail.com>2023-01-09 23:35:57 +0000
commita40db1f63ff1259ced3468aba60e2462bc4efa71 (patch)
tree59915642580a32d347b53b96234b443000cd2a5a /src/unix/bsd/netbsdlike
parent68ad935b38245088b4cd7276f8e53d80dc20823e (diff)
downloadrust-libc-a40db1f63ff1259ced3468aba60e2462bc4efa71.tar.gz
adding mimmutable from openbsd (7.3)
Diffstat (limited to 'src/unix/bsd/netbsdlike')
-rw-r--r--src/unix/bsd/netbsdlike/openbsd/mod.rs2
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 3c966990a5..daefde3fbc 100644
--- a/src/unix/bsd/netbsdlike/openbsd/mod.rs
+++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs
@@ -1888,6 +1888,8 @@ extern "C" {
timeout: *const ::timespec,
uaddr2: *mut u32,
) -> ::c_int;
+
+ pub fn mimmutable(addr: *mut ::c_void, len: ::size_t) -> ::c_int;
}
#[link(name = "execinfo")]