Skip to content

Commit

Permalink
Merge pull request #1875 from cmusser/master
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Sep 2, 2020
2 parents eb079df + 2e3748a commit 75ab4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/bsd/freebsdlike/dragonfly/errno.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// DragonFlyBSD's __error function is declared with "static inline", so it must
// be implemented in the libc crate, as a pointer to a static thread_local.
f! {
#[deprecated(since = "0.2.77", "Use `__errno_location()` instead")]
pub fn __error() -> *mut ::c_int {
&mut errno
}
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/freebsdlike/dragonfly/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,7 @@ f! {
}

extern "C" {
pub fn __errno_location() -> *mut ::c_int;
pub fn setgrent();
pub fn mprotect(
addr: *mut ::c_void,
Expand Down

0 comments on commit 75ab4a0

Please sign in to comment.