Skip to content
Snippets Groups Projects
Commit d371bdcc authored by Yuki Okushi's avatar Yuki Okushi
Browse files

Fix `deprecated` attribute for `__error`

parent ae193eaa
No related branches found
No related tags found
No related merge requests found
// 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")]
#[deprecated(since = "0.2.77", note = "Use `__errno_location()` instead")]
pub fn __error() -> *mut ::c_int {
&mut errno
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment