aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/bsd/freebsdlike/dragonfly/errno.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/bsd/freebsdlike/dragonfly/errno.rs')
-rw-r--r--libc/src/unix/bsd/freebsdlike/dragonfly/errno.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/libc/src/unix/bsd/freebsdlike/dragonfly/errno.rs b/libc/src/unix/bsd/freebsdlike/dragonfly/errno.rs
deleted file mode 100644
index e9ad63b..0000000
--- a/libc/src/unix/bsd/freebsdlike/dragonfly/errno.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-// 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! {
- pub fn __error() -> *mut ::c_int {
- &mut errno
- }
-}
-
-extern "C" {
- #[thread_local]
- pub static mut errno: ::c_int;
-}