summaryrefslogtreecommitdiff
path: root/src/errno.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errno.rs')
-rw-r--r--src/errno.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/errno.rs b/src/errno.rs
index 9102d7b1..a99c2261 100644
--- a/src/errno.rs
+++ b/src/errno.rs
@@ -13,16 +13,6 @@ unsafe fn errno_location() -> *mut c_int {
__error()
}
-#[cfg(target_os = "bitrig")]
-fn errno_location() -> *mut c_int {
- extern {
- fn __errno() -> *mut c_int;
- }
- unsafe {
- __errno()
- }
-}
-
#[cfg(target_os = "dragonfly")]
unsafe fn errno_location() -> *mut c_int {
extern { fn __dfly_error() -> *mut c_int; }
@@ -520,7 +510,7 @@ fn desc(errno: Errno) -> &'static str {
#[cfg(target_os = "dragonfly")]
EUNUSED94 | EUNUSED95 | EUNUSED96 | EUNUSED97 | EUNUSED98 => "Unused",
-
+
#[cfg(target_os = "dragonfly")]
EASYNC => "Async",
}